Elasticsearch xpack.monitoring.elasticsearch.collection.enabled

2025. 2. 12. 22:28k8s/EFK

Elasticsearch self 모니터링 설정

metricbeat 모니터링을 사용하려면, false로 설정해야 함

# elasticsearch.yml
xpack.monitoring.elasticsearch.collection.enabled: true

# 명령어
PUT _cluster/settings
{
  "persistent": {
    "xpack.monitoring.elasticsearch.collection.enabled": "true"
  }
}

# 확인
GET _cluster/settings