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

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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...