Alerting

how to post splunk alert severity to webhook url

srinivasup
Explorer

hi,

I have configured an alert to run for every 5 minz and it will post the results to webhook url, when i see that json payload, im not able to find severity ,

How can i include alert severity in json automatically

Tags (1)
0 Karma

woodcock
Esteemed Legend

This is arbitrary and selected by you! You get to create the search and then you get to decide the severity that it should have when you save it as an Alert.

0 Karma

srinivasup
Explorer

yeah thats fine but for each alert we configure, we have an option to choose severity, so we want to see that in payload.

0 Karma

woodcock
Esteemed Legend

The severity assigned is visible in the Alert, which is an event that you can view by going to Activity -> Triggered Alerts. You can also view the severity in searches like this:

index="_audit" action="alert_fired"

And this:

index="_internal" sourcetype="scheduler" thread_id="AlertNotifier*"
0 Karma

woodcock
Esteemed Legend

We need more information. What is your search string? What does your raw data look like?

0 Karma

srinivasup
Explorer

I have create an alert with below query

index=_internal | table host _time

This is my query alert and it will be triggered for every 5minz, and it is posting data to webhook, and im able to see json payload but when we configure alert we can choose alert severity or priority, this values is not included in JSON payload, we want to know how to include this .

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...