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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...