Search-Engine/Elasticsearch&Solr
Elasticsearch - 클러스터, 샤드, 인덱스 상태 확인하기
여성게
2020. 8. 25. 12:02
오늘은 간단하게 클러스터 모니터링을 위한 API 몇개를 정리해본다.
- http://es-host:9200/_cat/allocation?v -> 클러스터 디스크 현황
- http://es-host:9200/_cluster/health?pretty -> 클러스터 헬스체크
- http://es-host:9200/_cat/indices?v -> 인덱스 상태 확인
- http://es-host:9200/_cat/shards -> 모든 샤드 상태 확인
- http://es-host:9200/_cat/shards/{index_name}?v -> 특정 인덱스의 샤드 상태확인
https://brunch.co.kr/@alden/43