Hi there, pretty new to graylog but I’m trying to figure out how I can more information into an alert. I’ve created the condition that fires on the string ‘logged on’ but I want the entire message to appear that shows me the user who’s logged on as that appears in the message. I have tried a few things following the docs but neither give the desired result.
Hi, I’ve tried adding check_result.triggeredCondition and message.fields.full_mesaage. What I was hoping that would show me is the entire message in the email so not only can I see a login function it also states who.
OK, so at the risk of sounding rude here and this is not my intention, what do i need to add in to get the information I’m after in the alert? Or is that even possible as the documentation isn’t exactly clear as to what each element provides.
backlog
A list of message objects. Can be used to iterate over the messages via foreach.
message (only available via iteration over the backlog object)
The message object has several fields with details about the message. When using the message object without accessing any fields, the toString() method of the underlying Java object is used to display it.