Elasticsearch 명령어

2025. 2. 1. 22:04EFK

Index Mapping 조회

curl -X GET "http(s)://{도메인}:{포트}/{index}/_mapping?pretty" -H "Authorization: ApiKey {api key}"

Index 조회

curl -X GET "http(s)://{도메인}:{포트}/_cat/indices?v" -H "Authorization: ApiKey {api key}"

디스크 공간 체크

curl -X GET "http://your-elasticsearch-server:9200/_cat/allocation?v"