Global aggregates

You use the global aggregate definition language to define variables that store the results of aggregations on a set of events or entities.