FunctionssumVersion: v4.24On this pagesumComputes the sum of all values.sum(xs:list) -> intDescriptionThe sum function computes the total of all number values.xs: listThe values to aggregate.ExamplesCompute a sum over a group of eventsfrom [ {x: 1}, {x: 2}, {x: 3}, ] summarize n=sum(x){n: 6}See Alsomean, min, max