我可不可也把我的事件分组进行统计

比如我有个id字段 ,把相同id的字段分为一组,统计的时候按组内所有的数据统计

你使用 term aggregation 就行的。
https://www.elastic.co/guide/en/elasticsearch/reference/master/search-aggregations-bucket-terms-aggregation.html

1 Like

thank you~

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.