Other Usage

Query to find skipped scheduled searches not working correctly

keerthana_k
Communicator

Hi

We have a set of scheduled searches which are used for creating summary indexes. To check the list of skipped searches we use the following query:

index=_internal sourcetype=scheduler status=skipped | timechart span="5m" count by savedsearch_name

This query seems to be working fine when Splunk is running. However, when we stop and start Splunk, the skipped searches in that interval does not show up in the chart. Please tell me if this is the expected behavior.

Thanks

Keerthana

Tags (1)
1 Solution

woodcock
Esteemed Legend

Those searches weren't "skipped", the service was down; "skipped" means that splunk did not enough available resources (e.g. CPU cores) to run all of the searches that were scheduled so it had to deliberately drop ("skip") some of them. Skipped typically means a scheduled search did not finish before its next scheduled run should start - then that next run is skipped to avoid loading up the queue infinitely. You can file an Enhancement Request ticket but it will surely not get traction.

View solution in original post

0 Karma

Roy_9
Motivator

Hello @woodcock ,
Did the above problem fixed by splunk support?

I did an uninstall of an app which caused splunk cloud to restart, after the restart i am seeing the SH health warning RED, 

Search Scheduler Searches Skipped
Root Cause(s):
The percentage of non high priority searches skipped (100%) over the last 24 hours is very high and exceeded the red thresholds (20%) on this Splunk instance. Total Searches that were part of this percentage=12. Total skipped Searches=12"

 

I am not sure, how to fix this warning, Could you please guide me?

 

Thanks

0 Karma

woodcock
Esteemed Legend

Those searches weren't "skipped", the service was down; "skipped" means that splunk did not enough available resources (e.g. CPU cores) to run all of the searches that were scheduled so it had to deliberately drop ("skip") some of them. Skipped typically means a scheduled search did not finish before its next scheduled run should start - then that next run is skipped to avoid loading up the queue infinitely. You can file an Enhancement Request ticket but it will surely not get traction.

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 ...