Event Management - Event Rule Manual Attribute not populating in alert (value appears as <<UNKNOWN>>)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 08:24 AM
We have our events being populated with the following custom field (string)
We setup the Event Rule as follows
Our alerts will not populate with the sys_id's from the events
Only hardcoding the value gets the value propagated. Example setting the event rule as u_splunk_affected_platform is TEST
will propagate properly to the alert... but the ${u_splunk_affected_platform} value does not reference the sys_id properly that we want sent to the alert
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2020 09:21 AM
Hi, I was curious if you were able to figure out why this is happening? We are having similar issues where any of the regex or additional fields are producing the same <<unknown>> on the alert. I opened a case with HI support and am awaiting a response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2020 09:50 PM
Hi Jeff, Did you get any solution for this issue, I am also facing the same problem. Getiing UNKNOWN in alert's fields while using regex variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 07:22 AM
Yes. I did. It was the json payload that was coming in.
You need to really watch for values that come in that include additional double quotes as it will cause problems in the parsing.
Also when you do a webhook make sure you are formatting in such a way that you escape \ the quotes your using around the keys and values.
A nice tool to check your payload for errors can be found at jsonblob.com simply cut and paste what was received in the event to it and look for structure errors.
Hope this helps!
Jeff