Elasticsearch - 클러스터, 샤드, 인덱스 상태 확인하기

2021. 4. 19. 01:46 Elastic Stack/ElasticSearch

 

오늘은 간단하게 클러스터 모니터링을 위한 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



출처: https://coding-start.tistory.com/384?category=757916 [코딩스타트]