alert - Including multiple messages in a Logstash output email -


does know way include multiple messages in same email logstash?

currently configuration using:

    if [loglevel] == "error" , [type] == "application" {     email {         => "logstash@example.com"         subject => "application error on %{host}"         => "foo@example.com"         via => "smtp"         body => "%{message}"         replyto => "bar@example.com"     } } 

and sending emails, i'd able send, say, previous 20 messages same logfile, there more information in emails. possible use query body of email?

if that's not possible has been able emails send link page or location in logstash server more details can found?

i'm using logstash version 1.4.2 , have checked documentation @ http://logstash.net/docs/1.4.2/outputs/email can't see might allow me i'm trying do. i've tried searching examples of want on google, can't find people including more information in current event.

thanks, bill

message_format you

if [loglevel] == "error" , [type] == "application" { email { => "logstash@example.com" subject => "application error on %{host}" => "foo@example.com" via => "smtp" message_format => "%{mesage} yourlink, etc..." body => "%{message}" replyto => "bar@example.com" } }


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -