Splunk Search

Is there a way to sort data in descending order by time through REST API search?

ginger8990
Explorer

Someone asked me whether we can see data in descending order .
Such as I want to see data in 10-28-14 1:00am, 2 :00am, ----13:00, 14:00 order .

Tags (4)
0 Karma

tararso
Explorer

You can use |sort by DESC

tararso
Explorer

for some reason fieldname removed when posted. it should be |sort by fieldname DESC

0 Karma
Get Updates on the Splunk Community!

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!

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 ...