Elasticsearch Curator

By | 2020년 2월 19일

index list 조회

$ curator_cli --host 1.1.1.1 --port 9200 show_indices

apm- 으로 시작하는 모든 index 삭제

$ curator_cli --host 1.1.1.1 --port 9200 delete_indices --filter_list '{"filtertype":"pattern","kind":"regex","value":"apm-.*"}'

자주 쓰는 명령이라… 저장..ㅋ