Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question. Don’t forget to select tags to help index your topic!
1. Describe your incident:
When an alert is send to slack instead of the log message it send the Event name.
The message is the Title for the Event and the source is wrong.
Alert Title for this Event Definition, Events and Alerts created from it. triggered:
Custom Message:
--- [Event Definition] ---------------------------
Title: Title for this Event Definition, Events and Alerts created from it.
Type: aggregation-v1
--- [Event] --------------------------------------
Timestamp: 2022-01-26T12:31:49.000Z
Message: Title for this Event Definition, Events and Alerts created from it.
Source: 1460f886a2de
Key:
Priority: 2
Alert: true
Timestamp Processing: 2022-01-26T12:31:49.000Z
Timerange Start:
Timerange End:
Event Fields:
Show less
3. What steps have you already taken to try and solve the problem?
Google but not found anything about this.
Actual you were ,
But I appreciate the extra info.
Below it what you have.
What I tried to show you was the source as shown below…
Fields:
${foreach event.fields field} ${field.key}: ${field.value}
${end}
${if backlog}
--- [Backlog] ------------------------------------
Last messages accounting for this alert:
${foreach backlog message}
Source: ${message.source} <--- you might need this
${end}
${end}
The Message: ${event.message}
You may need to do this Message: ${message.message}
Here is the completed configuration I was suggesting to you to try out.
If you want to display openvpn: userusername’ authenticated the ${event.message} is linked to the Title of the Event Definitions
What you might need to do is shown above in my example to achieve you goals. Perhaps give it a test, if it doesn’t work post here what happened. Also notice where my configuration adjustments are located.
Hope that helps
EDIT: From the configuration I showed you above here is the results. Perhaps is this what your looking for.
I’m kind of confused, your not getting notifications or your receiving incorrect notifications?
Not sure what you did but it helps showing your new configuration that was made and the output that was received.
The Source field does not look right, are you using any extractors on your input or perhaps pipeline?
I see a field called utc_timestamp which make me think there is something else going on.
By chance are you using HTML in your Notifications?
To help you further we would need more information about your environment like Event Definition, input type configuration, etc… Any logs files that may pertain to this issue would be helpful.
What I posted above does work, its default with the added information about the source field, so I’m assuming at this point you have something else going on we don’t know about.