countFrequent
Use the countFrequent command (also available as
count_frequent) to compute an approximate count of each unique
field-value combination, sorted in descending order. The command emits an
_approxcount field.
Syntax
| countFrequentfield[,field...]
The command uses the following arguments:
-
– One or more fields to count frequencies for.field
Example
The following query counts the frequency of method and status combinations.
fields method, status | countFrequent method, status