head( ) Query Function

Returns the oldest events.

Parameters

Name Type Required Default Description
limit number No 200 The maximum number of events to return. The maximum allowed is 10000.

limit is the unnamed parameter.

Examples

Select the 10 oldest with loglevel=ERROR

loglevel=ERROR | head(10)

Select the 100 oldest events and group them by loglevel

head(limit=100) | groupby(loglevel)