Security

How can I get the details about the queries run by user

pradeepkumarg
Influencer

I want to know the details of the queries issued by users.

index=_internal sourcetype="searches"

This only gives me the search query and not earliest,latest,run_time. Is there a way to get these details?

Tags (3)
1 Solution

somesoni2
Revered Legend

You can try following query.

index=_audit action=search info=completed

This will give you fields like user, total run time,result count, time when search was executed, search time range and variety of other information.

Cheers.

View solution in original post

somesoni2
Revered Legend

You can try following query.

index=_audit action=search info=completed

This will give you fields like user, total run time,result count, time when search was executed, search time range and variety of other information.

Cheers.

gfuente
Motivator

Hello

In the default search app, you have a few reports with search user activity, you can found them in:

Status\Search Activity\

In particular: Search Activity per user.

In addition to those reports, you have even more in the SOS app that you can download from apps.splunk.com

Regards

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...