Skip to main content
Version: v4.21

reverse

Reverses the event order.

Synopsis

reverse

Description

The semantics of the reverse operator are the same of the Unix tool rev: It reverses the order of events.

reverse is a shorthand notation for slice ::-1.

Examples

Reverse a stream of events:

reverse