1
  • 现象(We couldn't activate monitoring)

image.png

  • 排查
# 查看模板
GET _cat/templates/.monitoring*?v
# 查看是否有 .monitoring-es-* 的索引
GET _cat/indices/.monitoring-*
# 查看集群配置
GET /_cluster/settings
  • 修改集群配置
PUT _cluster/settings
{
  "persistent": {
    "xpack": {
      "monitoring": {
        "elasticsearch": {
          "collection": {
            "enabled": "true"
          }
        },
        "collection": {
          "enabled": "true"
        }
      }
    }
  }
}
  • 检查集群是否至少有一个具有ingest 身份的节点

image.png

本文出自 qbit snap

qbit
268 声望279 粉丝