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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...