Alerting

Using webhook as an alert action, can webhook retry if http status is not ok?

LPatPSP
New Member

I am considering using webhook as an alert action. One concern is that if the webhook URL is temporarily not available, we may miss the alert action. Is it likely to configure webhook to retry when the webhook call http status is not ok?

Thanks

0 Karma

frobinson_splun
Splunk Employee
Splunk Employee

Hi @LPatPSP,
After consulting with some colleagues, retrying is not a supported option for webhooks.

However, you might consider this workaround:

Log an event if and when a webhook fails. Then, run a scheduled search to check for these failure events and alert on them. Set up a webhook alert action on this alert. The webhook can retry the original request. Note that the log event might need to include the original data payload from the first webhook notification.

Hope this is helpful!

0 Karma

frobinson_splun
Splunk Employee
Splunk Employee

Hi @LPatPSP,
Thanks for your question. I'm checking in with our product and engineering team to see what we can suggest.

Please stay tuned!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

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

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...