Hello I've create a stream and an alert with email-call back, that works,
but not all variables are filled, here the callback:
body: ##########
Alert Description: ${check_result.resultDescription}
Date: ${check_result.triggeredAt}
Stream ID: ${stream.id}
Stream title: ${stream.title}
Stream description: ${stream.description} ${if stream_url}Stream URL:
${stream_url}${end}
Triggered condition: ${check_result.triggeredCondition}
##########
${if backlog}Last messages accounting for this alert:
${foreach backlog message}${message}
${end}${else}<No backlog>
${end}
sender: [email protected]
subject: root logged in on ${message.source}
but ${message.source} is empty, but why?
thanks for help!
PS: is it possible to get special fields in this email? for example
message.ssh_login_username or other fields?
--
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 email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/37a098f6-f38c-4502-a4ba-535389db704f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.