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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...