シャードが未割り当てである理由を特定する
Elasticsearchメンテナンスコマンド
GET /_cluster/allocation/explain
{
"index": "customer",
"shard": 0,
"primary": true
}概要
特定のシャードを割り当てられなかった (unassigned) 理由を詳しく説明する。
使用する場面
yellow/red のクラスタで、未割り当てシャードの理由を探す場合。
注意
読み取り専用の診断コマンドのためリスクなし。