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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...