Splunk Search

Display last 20 lines from search query

freephoneid
Path Finder

I'm searching for a particular keyword in Splunk & now that I found the results in Splunk, I need to see last 20 lines from that particular word in raw log file. How can I do that in Splunk?

Thanks!

0 Karma

kristian_kolb
Ultra Champion
0 Karma

yannK
Splunk Employee
Splunk Employee

mysearch | tail 20

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...