Below is my latest output setting. For both Slack as well as email, the messages get delivered but the subject/body is not parsed with actual error messages or %{variables}
Vesrsion of logstash 2.2.4
slack {
url => "https://hooks.slack.com/services/G53JLWEF65/B534583M/BoJ03273hdbsdfyt38tUE0bfqKK3"
format => "%{message}"
}
email
{
to => 'to.user@domain.com'
from => 'no-reply@domain.com'
subject => 'Alert - %{title} %{LOGLEVEL} %{IP} %{TIMESTAMP_ISO8601}'
body => "%{message}"
domain => 'smtp.domain.com'
port => 25
}
For example in Slack the message is just %{message}
On Email Subject is Alert - %{title} %{LOGLEVEL} %{IP} %{TIMESTAMP_ISO8601} and body is %{message} on every message
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.