Splunk Search

Is there a way to search for what searches have been run over a period of time and by who?

Skins
Path Finder

Hi,

Is there a way to search for what searches have been run over a period of time and by who - preferably listing the search run also?

gratzi

Tags (1)
0 Karma

mstjohn_splunk
Splunk Employee
Splunk Employee

hi @skins

Did the answer below solve your problem? If so, please resolve this post by approving it!
If your problem is still not solved, keep us updated so that someone else can help ya. Thanks for posting!

0 Karma

splunker12er
Motivator

Try this,

index=_audit action=search info=granted search=* NOT(user=splunk-system-user)  NOT "search_id='scheduler" NOT "search='|history" NOT "search='typeahead" NOT "search='| metadata type=* | search totalCount>0" | stats values(search_id) values(search) by user  _time | sort _time | convert ctime(_time) 
0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...