動態

詳情 返回 返回

ES:集羣管理: 5.1diagnose shards issues and repair a cluster's health - 動態 詳情

一、檢查集羣健康:_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

...待續

user avatar liujiaxiaobao 頭像
點贊 1 用戶, 點贊了這篇動態!
點贊

Add a new 評論

Some HTML is okay.