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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...