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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...