指标聚合Metrics Aggregations指标聚合分为单值聚合和多值聚合。
单值聚合只返回一个指标
avg Aggregation求平均值
Cardinality Aggregation求基数,统计某个字段有多少个不同值。该值只是近似
2019-11-20