Splunk Search

How to search for user details, the search query that was run, and the URL of users running real time searches?

Path Finder

I want to display the user details, search query that was run, and url of the user who are running the real time searches. please help me with the search.

0 Karma

SplunkTrust
SplunkTrust

Hi sravankaripe,

one way is to use the Job Manager accessible with this URL /app/search/job_manager?jobStatus=running and check for the [real-time] searches.

Another way is to use a rest endpoint with this search:

 | rest /services/search/jobs/  | search isRealTimeSearch="1"

and get all needed fields from there.

Hope this helps to get you started ...

cheers, MuS

State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!