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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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