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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...