Splunk Search

Display last 20 lines from search query

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?


0 Karma

Ultra Champion
0 Karma

Splunk Employee
Splunk Employee

mysearch | tail 20

0 Karma
Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...