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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...