Splunk Search

Date sorting

iamniks
Explorer

Can you please tell how to sort date values ?

Tags (2)
0 Karma

MHibbin
Influencer

You could try

*|sort -_time

Or do you have a unique date value. If its already extracted you could do something like

*|sort -<date_field>

you may need to convert it to epoch time, if you are having issues.

0 Karma

Ayn
Legend

Provide more information on your problem please.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...