Splunk Search

How to tell what searches are running currently

thepocketwade
Path Finder

I want to avoid killing somebody else's search in the event I need to restart splunk. Is there any way to see all the searches being run right now in Splunk 4?

Tags (2)
1 Solution

Mick
Splunk Employee
Splunk Employee

As an admin user, you can click on 'Jobs' in the top right hand corner of the UI and see all searches that are currently running

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

And in Windows you can look in the Task Manager (or use Process Explorer, or whatever) and look for instances of splunk-search.exe

kbecker
Communicator

If you are running Splunk on Linux you can also execute "ps -ef | grep search" from the command line.

tpaulsen
Contributor

But that only applies to Splunk 4.

0 Karma

jrodman
Splunk Employee
Splunk Employee

To add on to this comparison: the splunk-specific monitoring does know more about the searches, but the operating-system level inspection is an intended feature. If something is misbehaving, we want the tradiditional tools to be informative. renicing jobs is kosher, as is a goold old SIGQUIT, in a pinch. The windows equivalents should also be fine.

0 Karma

thepocketwade
Path Finder

That would certainly work, but you jobs tab in the ui gives the percentage complete. So, you could just watch the search finish before restarting, instead of rerunning ps.

Mick
Splunk Employee
Splunk Employee

As an admin user, you can click on 'Jobs' in the top right hand corner of the UI and see all searches that are currently running

bhawkins1
Communicator

In splunk 6, "Jobs" is under the "Activity" heading.

0 Karma
Get Updates on the Splunk Community!

Community Feedback

We Want to Hear from You! Share Your Feedback on the Splunk Community   The Splunk Community is built for you ...

Manual Instrumentation with Splunk Observability Cloud: Implementing the ...

In our observability journey so far, we've built comprehensive instrumentation for our Worms in Space ...

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...