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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...