[graylog2] Re: Email notifications using extractors

2016-01-27 Thread kaiser
Hi Stan This should work: ${foreach backlog message}${message.fields.Ip} ${message.fields.Command} - my version ${end} -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an

[graylog2] Re: Email notifications using extractors

2016-01-27 Thread kaiser
Documentation is not specifying the way you access specific fields. Assuming Ip and Command are specific fields you extracted, Just try: ${foreach backlog message}${message.fields.Ip} ${message.fields.Command} - my version ${end} -- You received this message because you are subscribed to th

[graylog2] Re: Email notifications using extractors

2016-01-22 Thread Jochen Schalanda
Hi Stanislav, please see http://docs.graylog.org/en/1.3/pages/streams.html#email-alert-callback for a description of how to use the email template and which variables are available. Cheers, Jochen On Friday, 22 January 2016 09:42:56 UTC+1, Stanislav An wrote: > > Hello, Jochen! > > Thank you

[graylog2] Re: Email notifications using extractors

2016-01-22 Thread Stanislav An
Hello, Jochen! Thank you for answer. But I still havea problem. I've created 2 extractors. From full message I extracted IP and Command fields. In Dashboards I see these fields. I tried to rewrite callback. ${foreach backlog message}${message} - was by default ${foreach backlog message}${Ip} ${

[graylog2] Re: Email notifications using extractors

2016-01-19 Thread Jochen Schalanda
Hi Stanislav, you can edit the email template for the Email Alert Callback in the Graylog web interface at Streams -> Manage alerts -> Edit callback. Within this template, you can access any message field. Cheers, Jochen On Tuesday, 19 January 2016 13:19:52 UTC+1, Stanislav An wrote: > > Hi a