Guest User

PasteBin powered by pb script for Textual - http://xeon3d.net/textual/scripts/pb/

a guest
Oct 30th, 2013
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. input { stdin { type => "stdin-type" } file { type => "syslog" path => [ "/var/log/system.log" ] } } output { stdout { } email { to => "[email protected]" subject => "Logstash Alert" body => "This is the log that generated this alert:" htmlbody => "<h2>%{matchName}</h2><br/><br/><h3>Full Event</h3><br/><br/><div align='center'>%{@message}</div>" via => "smtp" options => [ "address", "smtp.gmail.com", "port", "587", "domain", "example.com", "user_name", "[email protected]", "password", "some4password", "authentication", "login", "enable_starttls_auto", "true" ] } }
Advertisement
Add Comment
Please, Sign In to add comment