Alerting

Splunk Alert to python

johnsasikumar
Path Finder

Hi i have a query which gives output of _time, message. The message column holds the actual alert message. I have saved this search as an alert,
How do we export this message into a python or batch file? is this possible.

Tags (1)
0 Karma

niketn
Legend

@johnsasikumar you should be creating a Custom Alert Action which can execute your python script. Refer to Splunk documentation: https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ModAlertsIntro

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...