Hi All,
I am having an issue with Graylog 5.03 and slack integration.
I have the following working
- A UDP text input on port 5556 with a json extractor which extracts messages.
- A event definition and notification with works sending messages to slack
- I have the backlog set to 1 in the notification.
- Full message appears in slack channel but with out individual message field
Example test message sent to input as a JSONL string
echo {"classification.identifier": "open-vnc", "classification.taxonomy": "vulnerable", "classification.type": "vulnerable-system", "time.source": "2023-04-24T07:23:33+00:00"} | ncat -u -w 1 <graylog ip> 5556
Here is it parsed
Here is the notification template
--- [Alert Information] ---------------------------
Title:
Source:
Timestamp: ${event.timestamp}
${if backlog}
${foreach backlog message}
${message.classification_type}
${message.classification.type}
--- [Full Message ] ------------------------------------
${message.message}
${end}
${end}
I have tried both options as the extractor on the input shows where as the parsed event has an underscore rather than a dot.
However in slack I get
I was expecting to see the classification.type field in the slack notification.
Can anyone explain why I am not getting the individual field but do get the full message?
Cheers
Jake