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!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

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

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...