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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...