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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...