Alerting

Splunk stop runing the alert script after a few days, despite that the search trigger works!

bugnet
Path Finder

Hi all,
I have deployment environment with:
5 search heads, 3 Indexers, 2 Heavy forwarders and 1 cluster master.

I created the alert on one of the search head with "Cron schedule" and "Run a script" action.
The problem begins after a few days when suddenly the script doesn't run!

What checked:
1. search lookup who trigger the script does work.
2. index=_internal sourcetype="splunk_python" | search "my_script_name" - Does not appear!
Splunk stop running the script after a few days, despite that the search trigger works!
Any insight? What steps do we need to take to the run a script function work in such deployment environment ?

Tags (1)
0 Karma

puneethgowda
Communicator

check the expiry option

0 Karma

gjanders
SplunkTrust
SplunkTrust

I've hit a similar issue to the one you mention in an older Splunk version, re-creating the alert again (with identical configuration) fixed the issue, also upgrading to the current Splunk release (6.5.1) has not resulted in a re-occurence of the issue.

In my case the alert script failed to fire sometimes, even though the alert itself fired, it's not a common problem so it may or may not be the same as the issue you are describing...just a potential answer.

0 Karma

DalJeanis
Legend

Okay, so if the script worked for a few days, then stopped working, I'd start out by checking whether the components (bin etc) were all in place.

There are lots of production environments where the security team will UNDO work which has not been properly documented, without giving notice. There are also lots of pseudo-production environments where people muck with each other's code, also without giving notice.

0 Karma

bugnet
Path Finder

Thanks. all components are in place.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...