Splunk Search

Searches running in Batches and needs to be triggered once the previous search is completed

chintan_shah
Path Finder

i am creating various reports which are schedule on cron expression but i wanted to see if there is any possibilites to trigger the searches if the previous search is ran successfully.
I am running various searches which create a csv as output and my last search runs a python scripts which combines all the csv into excel.

Tags (2)
0 Karma

somesoni2
Revered Legend

If you're admin (in other words have access to _internal index), your last search (which triggers python script) can look at scheduler logs (index=_internal sourcetype=scheduler status=success savedsearch_name="YoursearchName1" OR savedsearch_name="YoursearchName2" OR ..) to check status and then fire the script action.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...