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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

[Puzzles] Solve, Learn, Repeat: Unmerging HTML Tables

[Puzzles] Solve, Learn, Repeat: Unmerging HTML TablesFor a previous puzzle, I needed some sample data, and ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...