Splunk Search

Find who all ran that query during a particular timeframe?


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

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!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...