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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...