top
Shows the most common values. The dual to rare
.
Description
Shows the most common values for a given field. For each value, a new event
containing its count will be produced. In general, top x
is equivalent to:
Potentially High Memory Usage
Take care when using this operator with large inputs.
x: field
The field to find the most common values for.
Examples
Find the most common values
{x: "A", count: 3}
{x: "B", count: 2}
{x: "C", count: 2}
{x: "D", count: 1}