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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...