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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...