Splunk Search

total concurrent searches

d646800
Explorer

can anyone let me know how to find the total concurrent searches in splunk for example in the last few days etc and the details of the search

i was doing this
index=_internal source=*metrics.log group="search_concurrency" host=A | timechart span=1m sum(active_hist_searches) as concurrent_searches by host

but i cannot see the type of searches or the search string etc in it. is there a way to find it out

Tags (1)
0 Karma

d646800
Explorer

thanks for the reply, I cannot seem to see sourcetype="searches" though i can see the sourcetype="scheduler".

0 Karma

chimbudp
Contributor

You could probably accomplish your goal, using Splunk internal information. The running jobs are normally tracked by Splunk as follows:

Saved Searches: index="_internal" sourcetype="scheduler" earliest=02/05/2011:12:20:00 latest=02/05/2011:12:25:00

Manual Searches: index="_internal" sourcetype="searches" earliest=02/05/2011:12:20:00 latest=02/05/2011:12:35:00

0 Karma

chimbudp
Contributor
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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...