- 景象(We couldn’t activate monitoring)
- 排查
# 查看模板
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"}
}
}
}
}
本文出自 qbit snap