Splunk Search

Get latest 50 events in the search

ndkhoiits
Explorer

I need a statistic which show latest 50 events in the log, can we do this with splunk?

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

This?

index=foo | head 50

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

This?

index=foo | head 50
Get Updates on the Splunk Community!

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Community Feedback

We Want to Hear from You! Share Your Feedback on the Splunk Community   The Splunk Community is built for you ...

Manual Instrumentation with Splunk Observability Cloud: Implementing the ...

In our observability journey so far, we've built comprehensive instrumentation for our Worms in Space ...