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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...