Splunk Search

jump to first event

rstanonik
Engager

A search returned 7000 events within one second.
By default splunk shows me the most recent events and allows me to next backward in time.
I want to see the first events.
How can I jump to the first events?
Thanks.

Tags (1)
0 Karma

BobM
Builder

As far as I know, you can not tell splunk to start at the earliest time and work forward. The search sequence is hard coded but you can improve on the reverse command if you do not want later events.
The tail command will always show you the last x events in a list so this will show the last 3 (which equates to earliest as time is descending in our results.)

search | tail 3

This is marginally quicker as splunk just throws away earlier events rather than sort them.

0 Karma

AlessandroMagno
Engager

Hi,

can I insert a command faster than "search | reverse"?

I would known the date about the first event.

Thanks

0 Karma

BobM
Builder

if you add "| reverse" to the end of your search it will reverse the order and show you the oldest ones on the first page.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...