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 for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...