Splunk Search

How do i get a list of all these concurrent searches?

HattrickNZ
Motivator

I am trying to setup a summary and schedule it to run daily at 03.05a.m. as a cron job. But I get this error Your maximum number of concurrent searches has been reached.

How do i get a list of all these searches? Do i have to go into each search I have and see which ones of them are scheduled? And what does it mean by concurrent searches, can I have so many running within a certain time frame?

Schedule and alert
Schedule this search

Schedule type *

Cron schedule

05 3 * * *
Enter a cron-style schedule.

...

Summary indexing
Enable
Enabling summary indexing will set the alert condition to 'always'.
Select the summary index
Failed to fetch data: Search not executed: Your maximum number of concurrent searches has been reached. usage=4 quota=4 user=user.name. SearchId=1475527164.1062544

0 Karma
1 Solution

jhupka
Path Finder

There's several ways to see information about these scheduled searches. In addition to looking through your scheduled search configurations like you mention (and they're also in all of the savedsearches.conf files under the hood), you can manually find these by clicking on the Activity->Jobs menu in the upper right of the Splunk UI. From there you can use the various drop-downs to show All searches, then limit to just the ones that are Running.

It is also possible to search for this information. Here is a simple search that will find any information about Splunk queuing your searches due to hitting these limits. Run this over the timeframe you're concerned about (+/- 15 minutes, for example) to see what could be going on (you'll typically need to be an admin to search the _internal index):

index=_internal sourcetype=splunkd component=DispatchManager queued

If you want to search for them, the following search will show currently running searches:

| rest /services/search/jobs | search dispatchState=RUNNING

BUT, you can end up in a Catch-22 if the Search Head is queuing your search and you're trying to run a search to see what is/was running.

View solution in original post

jhupka
Path Finder

There's several ways to see information about these scheduled searches. In addition to looking through your scheduled search configurations like you mention (and they're also in all of the savedsearches.conf files under the hood), you can manually find these by clicking on the Activity->Jobs menu in the upper right of the Splunk UI. From there you can use the various drop-downs to show All searches, then limit to just the ones that are Running.

It is also possible to search for this information. Here is a simple search that will find any information about Splunk queuing your searches due to hitting these limits. Run this over the timeframe you're concerned about (+/- 15 minutes, for example) to see what could be going on (you'll typically need to be an admin to search the _internal index):

index=_internal sourcetype=splunkd component=DispatchManager queued

If you want to search for them, the following search will show currently running searches:

| rest /services/search/jobs | search dispatchState=RUNNING

BUT, you can end up in a Catch-22 if the Search Head is queuing your search and you're trying to run a search to see what is/was running.

sloshburch
Splunk Employee
Splunk Employee

@hattrickNZ - did this answer your question? If so, you can "accept" this answer or post clarifying comments.

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...