API
/api/1/groupby
Groups events over a field and return the counts for each value. Similar to an SQL query like:
select count(event_type), event_type from events group by event_type order by count desc;
Parameters:
time_range
: The time range to search over, example:1d
or24h
.field
: The field name to group over.order
: Order of results.desc
for most common, orasc
for least common.