Hi Dennis,
the documentation already says:
> message (only available via iteration over the backlog object)
Additionally the default email template also can serve as an example.
Any suggestions for how to improve the documentation on this topic are
welcome! Feel free to post your suggestions
Thanks Jochen,
After a lot of trial and error I've learned you have to involve "the
backlog object" or you can't access your fields. My callback eventually
looked something like this:
ACCOUNT LOCKED OUT
${if backlog}
${foreach backlog message}
Username: ${message.fields.ad_username}
Server:
Hi Dennis,
you can only reference fields listed
in
http://docs.graylog.org/en/1.3/pages/streams.html#alert-callbacks-types-explained
in your email template (scroll down a little bit).
In your case, you would access the ad_username field of the message with
${message.fields.ad_username}.
Che