Splunk Dev

How to reverse the order of displayed events using custom command?

carmenho92
New Member

possible to give me some python codes to refer to?

Tags (3)
0 Karma

ravi_shah01
Engager

Hi,

Can you please elaborate on your requirement here?
I generally use existing command |reverse to reverse the events.

0 Karma

Ayn
Legend

It is I guess, but it would be inefficent compared to the command that already exists for this which is why people are commending you to use that instead.

0 Karma

carmenho92
New Member

i want to try doing in custom command? its possible right?

0 Karma

Ayn
Legend

Why would you need a custom command?

0 Karma

carmenho92
New Member

i was thinking of my search command be for eg 404| den e result will display a reversed order of e events.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...