All Apps and Add-ons

error i.e 'maxsearches limit reached'

vikram_m
Path Finder

We are now a days not getting any alerts triggered for our data in environment.

when I did go to /opt/splunk/var/log/splunk/scheduler.log even for few back days.

going through the alerts I found a coomon reason which reads :

savedsearch_name="***************", status=skipped, reason="maxsearches limit reached"

I feel some optimization need to be done incase of searches and saved searches running in the env.

Do we have any command or plan where we can see which searches are running at that time and causing our alerts to be skipped running daily.

Thanks.
Vikram.

0 Karma

woodcock
Esteemed Legend

This shows you skipped searches:

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

Skipped typically means a scheduled search did not finish before its next scheduled run should start so that next run is skipped to avoid loading up the queue infinitely. So a good starting place is the searches that are being skipped. Do everything you can to optimize THOSE searches. Consider running them less frequently or over a smaller time range. Consider adding more indexers. Run the Healthchecks on the Monitoring Console and fix KNOWN system problems, etc. Above all else, DO NOT run scheduled real-time searches.

vikram_m
Path Finder

Thanks Woodcock....but how can we "Run the Healthchecks on the Monitoring Console" any command or specific processes to follow to find the system faults?

Thanks for your reply this was helpful.

0 Karma

woodcock
Esteemed Legend

Go to Settings -> Monitoring Console -> Health Checks -> Start.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...