Splunk Search

Opposite of "head" ?

the_wolverine
Champion

I'm trying to find out what the oldest occurrence of an event was - as in, opposite of head. Is there such a command?

I've tried using " * | reverse | head 1 " which works but is very slow and inefficient.

Tags (1)
1 Solution

the_wolverine
Champion

w00t!!!!!!!!!!!

0 Karma

Genti
Splunk Employee
Splunk Employee

awesome awesome awesome!!!

0 Karma

araitz
Splunk Employee
Splunk Employee

tail fail tail fail

0 Karma

fk319
Builder

Genti
Splunk Employee
Splunk Employee

| sort _time, that is, no - sign...

0 Karma

Genti
Splunk Employee
Splunk Employee

i tried that, and then i tried * | sort -_time and this seems to be faster. I am unaware of a command that is the opposite of head...

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...