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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

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