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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...