#
Aggregations
#
Overview
Aggregations power your metrics. Since you've decided what data you want with a filter, how often to calculate it with an interval and how to slice it with groupings -- now it's time to actually decide what to aggregate.
You can have an 10 aggregations per filter.
Each aggregation has four components:
#
Calculations
Calculations are the statistical computations you want to run to achieve your metrics. Each aggregation can have any combination of calculations.
Aggregations.io supports the following Calculations:
#
Non Numeric Fields
If a field defined is found to contain a non-numerical value or not exist on a given payload - it will not be used for the calculation.
For example, if the aggregation is defined as Sum, Count, Avg
for @.num
and the following events are sent:
[
{"num":2},
{"num":4},
{"num":0},
{"num":"apples"}
]
- The
Sum
will be6
- The
Avg
will be2
- The
Count
will be4
Need a different calculation? Contact Us