Skip to content

premrajvs/splunk-custom-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Many real-world Splunk deployments require sending alerts to third-party applications via Webhooks for centralized event management and to trigger subsequent workflows for alerting or incident handling. Splunk's native Webhook alert action offers this functionality but has significant drawbacks. It restricts users to providing only a URL, which often isn't sufficient for secure HTTPS endpoints that necessitate authorization headers. Additionally, the out-of-the-box action lacks the ability to customize the request payload, a critical requirement for seamless integration with most external APIs.

This application is designed to overcome these two challenges. It provides users with the capability to specify custom headers and define the exact request payload to be sent with their Webhook alerts.

I am sharing the source code of this application so that any Splunk users can make modifications as per their use cases or use it as is. We encourage community contributions and welcome any further modifications.

UI of the Alert Action

image

Log messages to help troubleshoot if any problem

image

Query to check logs

index=_internal source="C:\Program Files\Splunk\var\log\splunk\customwebhook_alert.log"

Splunk documentation : https://dev.splunk.com/enterprise/docs/devtools/customalertactions/

About

Custom webhook alert action that allows users to add headers and request body

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •