Skip to content

head

Limits the input to the first n events.

head [n:int]

Forwards the first n events and discards the rest.

head n is a shorthand notation for slice end=n.

The number of events to keep.

Defaults to 10.

head
head 5

slice, tail