一、檢查集羣健康:_cluster API
_cluster API
1. 集羣層
GET _cluster/health
GET _cluster/health?level=cluster
上面兩個等價
2. 分片層
GET _cluster/health?level=shards
索引層>指定索引-分片狀態
GET _cluster/health/hamlet?level=shards
3. 索引層
所有索引
GET _cluster/health?level=indices
索引層>指定索引-索引狀態
GET _cluster/health/hamlet?level=indices
二、_cat API
查看status=yellow的索引
GET _cat/indices?health=yellow
...待續