All Apps and Add-ons

Query in Splunk with ORDER By Desc not working

jyoti2bhagat
Engager

I need to fetch data from salesforce in Splunk using Splunk Connector,
'Order By' is mandatory in Splunk and but it does not support 'Order By desc'.

I need to sort the data in Order By Desc only.
Any way to do it in connector.Please suggest

0 Karma

to4kawa
Ultra Champion

try | sort 0 _time OR | reverse

jyoti2bhagat
Engager

do you mean to say query will be like this..
select id from account sort 0_time OR
select id from account reverse

0 Karma

to4kawa
Ultra Champion

If this question is not related SPL, I'm sorry.
This's not SOQL.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

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

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...