How to troubleshoot why a python script is running or not when triggered by an alert?


Dear All,

We have created some alerts and we are calling a python script when that alert gets triggered.
How to troubleshoot that script is running or not?

In my python script we are writing a log file so that we can keep track of what the python script is doing. Sometimes its won't write anything in Log file, so we are not able to understand if the script is running or not

Gajanan Hiroji

0 Karma

Splunk Employee
Splunk Employee

The documentation here points out this wiki article on Troubleshooting Alert Scripts. Somewhat related question / answer here.

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!