Aggregation Operators

Aggregation operators help aggregate log messages into groups. FuseQL supports the following aggregation operators:

Facet values have duration datatype if they follow the go language duration format. When applying aggregation operators to these values, FuseQL normalizes them to a nanosecond float value.

FuseQL applies aggregations after applying the filters specified in the log search bar, and in the time range selected in the time picker. All aggregations are grouped by time buckets, unless user specifies additional grouping from the by dropdown.

Kloudfuse automatically selects the count and count_unique operators by default, depending on the data type of the variable. For other operators, click the drop-down next to the show label, and select the aggregation operator.

Select aggregation operations

avg

Computes the average value of numeric or duration-valued facets.

Illustration of average operator

count

Counts the total number of log lines.

Illustration of count operator

count_unique

Counts only unique or distinct occurrences of the field. This operator can be applied on fingerprints, labels or string valued facets (facet value can be of string/UUID/IP address datatype).

Illustration of count unique operator

first

Computes the first value of numeric or duration valued facets.

Illustration of first operator

last

Computes the last value of numeric or duration valued facets.

Illustration of last operator

max

Computes the max value of numeric or duration valued facets.

Illustration of max operator

min

Computes the min value of numeric or duration valued facets.

Illustration of min operator

percentiles

Computes the percentiles (p50, p75, p90, p95 or p99) of numeric or duration valued facets.

Illustration of percentile-99 operator

stddev

Computes the standard deviation of numeric or duration valued facets.

Illustration of stddev operator

stdvar

Computes the standard variance of numeric or duration valued facets.

Illustration of stdvar operator

sum

Computes the sum of numeric or duration valued facets.

Illustration of sum operator