Reporting

What are the main reasons for scheduled search latency?

pradeepkumarg
Influencer

The difference between the dispatched_time and scheduled_time on the scheduler logs--What is this exactly telling? What are the reasons for this delay?

Could it be because the cluster captain is busy? Is there a limit on how many schedule searches can the captain delegate ?
Is it because search head members are exhausted?
Is it because the indexers are busy? Does the search head members even have visibility into the indexer performance and CPU availability?

Any insight into this is greatly appreciated. Thank you.

Regards,
Pradeep

0 Karma

lguinn2
Legend

Whether you have a search head cluster or independent search heads, the "scheduler" is responsible for determining when reports run, and if necessary, which reports to skip. Here is some key documentation on the scheduler
Configure the priority of scheduled reports

The biggest reasons that a scheduled search fails to run is that the search head has too many simultaneous jobs to run. The documentation has a good description of how that happens and what you can do in the scheduler to manage it.

In a distributed environment, a search needs resources on both the search head and the indexer tier in order to execute. As a rule of thumb, search performance can be improved by adding more indexers, since indexers do the actual searching. While adding indexers does not increase the number of simultaneous searches, it does increase the speed of the searches so that more searches execute within a given time.

HTH

Get Updates on the Splunk Community!

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Get Inspired! We’ve Got Validation that Your Hard Work is Paying Off

We love our Splunk Community and want you to feel inspired by all your hard work! Eric Fusilero, our VP of ...