Splunk Search

How can I list all the scheduled searches?

danielbb
Motivator

We have some spikes for concurrent search jobs? therefore, how can I list all the scheduled searches for a given moment?

Tags (1)
0 Karma
1 Solution

koshyk
Super Champion

Do you have "MOnitoring Console" configured? This one should show which search takes time in past xx minutes etc.

But if you want as a SPL query, please try

index=_audit sourcetype=audittrail savedsearch_name=* info="completed"
| timechart avg(total_run_time) by savedsearch_name

Please note, there will be 100's of saved-searches, so better if you put some kind of filter or list , so you can pinpoint which one runs slower etc. You can adjust the "Time range" to find which one was running at a given time slot. (You can change info=completed too to find all the stages)

View solution in original post

koshyk
Super Champion

Do you have "MOnitoring Console" configured? This one should show which search takes time in past xx minutes etc.

But if you want as a SPL query, please try

index=_audit sourcetype=audittrail savedsearch_name=* info="completed"
| timechart avg(total_run_time) by savedsearch_name

Please note, there will be 100's of saved-searches, so better if you put some kind of filter or list , so you can pinpoint which one runs slower etc. You can adjust the "Time range" to find which one was running at a given time slot. (You can change info=completed too to find all the stages)

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...