Alerting

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

gajananh999
Contributor

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

Thanks
Gajanan Hiroji

0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee

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

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...