How to search the Splunk system to find the current number of concurrent searches vs the max number of concurrent searches?
Hi cdo,
In Splunk Web, you can click Activity > Jobs from the menu to view a list of running jobs, including search jobs.
Each job has its own process on the search head and on every indexer that participates in the search. A current list of all jobs is
available via Jobs endpoint.
Jobs manifest as a process in the OS. There are two processes in Linux for each search job: search-launcher and process-runner .
You can Isolate all the splunk-search processes with: ps -ef | grep search . They are used by the splunkd process to do further work as needed. The main job is the one using system resources and contains the search --id in its name. The search result is written to: SPLUNK_HOME/var/run/splunk/dispatch//
Hope this helps. Thanks!
Hunter