Splunk Search

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

sravankaripe
Communicator

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

MuS
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

Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...