On This Page

Home / Search/ Language Reference/ Functions/ Cribl Functions/sumsq

sumsq ​

The sumsq aggregation function returns the sum of squares of Expression across the group.

Use this function with the summarize, eventstats, and timestats operators.

Syntax ​

sumsq( Expression )

Arguments ​

  • Expression: Expression used for aggregation calculation. Wildcards are not supported for field names.

Example ​

dataset=myDataset
| summarize sumsq(goats)