Splunk Search

Find who all ran that query during a particular timeframe?

Harishma
Communicator

I have a query, I want to know who all ran that query during a particular timeframe?
Is it possible to know?
Can someone kindly let me know(provide query) how to find this?

0 Karma

cmerriman
Super Champion

you can use the _audit index to look at that.

index=_audit action=search search="<search string>"|stats count by user

as long as the field extractions work, shouldn't be a problem.
if for some reason the field extractions are broken, you might need to write a regex like this: |rex "user=(?<user>[^,]+)" to get user

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...