https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline.html
형제 파이프 라인 집계
- avg 버킷 집계
- max 버킷 집계
- min 버킷 집계
- sum 버킷 집계
- stats 버킷 집계
- extended stats 버킷 집계
- percentile 버킷 집계
- moving average 집계
부모 파이프 라인 집계
- derivative 집계
- cumulative 합계
- bucket script 집계
- bucket selector 집계
- serial differencing 집계
파이프 라인 집계는 하위 집계를 지원하지 않지만 bucket_path 매개 변수를 사용하는 집계 체인을 지원하기 때문에 파이프 라인 집계 체인에서 최종 출력은 체인의 각 집계 출력이 포함된다. bucket_path의 구문은 다음과 같다.
AGG_SEPARATOR = '>'
METRIC_SEPARATOR = '.'
AGG_NAME = <the name of the aggregation>
METRIC = <the name of the metric (in case of multi-value metrics aggregation)>
PATH = <AGG_NAME> [ <AGG_SEPARATOR>, <AGG_NAME> ]* [ <METRIC_SEPARATOR>, <METRIC> ]
예를 들어 "buckets_path": "AGG_NAME>METRIC"은 bucket_path는 집계와 해당 집계의 메트릭을 참조함을 알려준다.
'Elasticsearch' 카테고리의 다른 글
[elasticsearch 5] 인덱스 통계 보기 (0) | 2017.05.17 |
---|---|
[elasticsearch 5] 매트릭스 통계(matrix stats) (0) | 2017.05.17 |
[elasticsearch5] max_map_count 설정 (0) | 2017.04.26 |
elasticsearch 1.3 - NodeDisconnectedException (0) | 2017.04.03 |
[logstash] kafka 연동 설정 (0) | 2017.03.13 |