tail
Limits the input to the last n
events.
Description
Forwards the last n
events and discards the rest.
tail n
is a shorthand notation for slice begin=-n
.
n: int (optional)
The number of events to keep.
Defaults to 10
.
Examples
Get the last ten results:
Get the last five results: