데이터 엔지니어링/AWS
[ELK] Elastic Search (3)
Metric Aggregation산술 aggregation{ "size" : 0, "aggs" : { "stats_score" : { "stats" : { "field" : "points" } } }}curl -XGET -H'Content-Type: application/json' localhost:9200/_search?pretty --data-binary @avg_points_aggs.jsonAVG(평균)MAX (최대값)status : count/ min / max / avg / sum => aggregation이 다 나올 수 있는 코드Bucket aggregationSQL Gro..
2023. 11. 11. 16:52