一、检查集群健康:_cluster API
1. 集群层
GET _cluster/healthGET _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
...待续
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用。你还可以使用@来通知其他用户。