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
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...