Splunk Search

Back end query to pull the active searches running in Search Head

anandhalagarasa
Path Finder

I want to check what are the searches which are running currently or which are finalizing or which is done via our back-end Search head server which is an Unix machine.

So Is there any back end command to pull those sort of information?

Tags (1)
0 Karma

MuS
Legend

Hi anandhalagarasan,

before you try to re-invet the wheel, have a look at the docs http://docs.splunk.com/Documentation/Splunk/latest/DMC/DMCoverview of the integrated Monitoring Console. It will provide a lot of prebuilt searches, dashboards about search activities and a lot more.

Hope this helps ...

cheers, MuS

0 Karma

anandhalagarasa
Path Finder

Can anyone help on this request.

0 Karma

aakwah
Builder

/opt/splunk/bin/splunk search '| rest /services/search/jobs'

0 Karma

anandhalagarasa
Path Finder

Thanks. But how long will it take to pull the report at the back end. Since I have initiated the query some 3 minutes before but still now I couldn't able to get the output also I want to know whether this command wont delete any searches?

0 Karma

aakwah
Builder

Welcome, sorry I don't have more details ..

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 ...