Limits the input to the last n events.
tail [n:int]Description
Section titled “Description”Forwards the last n events and discards the rest.
tail n is a shorthand notation for slice begin=-n.
n: int (optional)
Section titled “n: int (optional)”The number of events to keep.
Defaults to 10.
Examples
Section titled “Examples”Get the last 10 results
Section titled “Get the last 10 results”exporttailGet the last 5 results
Section titled “Get the last 5 results”exporttail 5