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