[graylog2] Re: Enter Server Variable for Callback email alert

2017-01-19 Thread Jochen Schalanda
Hi Ciaran, On Thursday, 19 January 2017 17:26:23 UTC+1, Ciaran Boyle wrote: > > So this is obviously wrong - Server: ${message.fields.source}, I get > that. Can you pose an example of how I would enter the "message.source" > As I described before, there is no single message object when the templ

[graylog2] Re: Enter Server Variable for Callback email alert

2017-01-19 Thread Ciaran Boyle
Thanks, but I cannot for the life of me figure the context out. So this is obviously wrong - Server: ${message.fields.source}, I get that. Can you pose an example of how I would enter the "message.source" I'm kind of asking for a handhold here, so that I can get my head around the callback setu

[graylog2] Re: Enter Server Variable for Callback email alert

2017-01-19 Thread Jochen Schalanda
Hi Ciaran, I will simply quote from my reply on GitHub: https://github.com/Graylog2/graylog2-server/issues/3392#issuecomment-273806544 There is no global message object but always a collection of messages which you have to iterate over (like shown on the bottom of the template and described i