Splunk Search

query to find the last 5 searches ran by user

kteng2024
Path Finder

hi,

Is there any query to find out last five queries ran by a user. We can do it by using history command.

0 Karma

woodcock
Esteemed Legend

Like this:

|rest /services/search/jobs | streamstats count BY author | search count<=5
0 Karma
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...