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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

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

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...