Hi
I am trying. to disable ILM on metricbeat in k8s environment. I am installing metricbeat using helm chart and modified values.yml to disable the ILM. However, in the logs, I see that ILM is always enabled. Can you please help ?
Thanks & Regards,
Umesha
Logs from metricbeat pod
2021-03-10T15:54:35.597Z INFO instance/beat.go:645 Home path: [/usr/share/metricbeat] Config path: [/usr/share/metricbeat] Data path: [/usr/ share/metricbeat/data] Logs path: [/usr/share/metricbeat/logs]
2021-03-10T15:54:35.597Z INFO instance/beat.go:653 Beat ID: 90d46663-2788-4f0a-92ad-e6de33a6be67
2021-03-10T15:54:35.601Z INFO [api] api/server.go:62 Starting stats endpoint
2021-03-10T15:54:35.601Z INFO [seccomp] seccomp/seccomp.go:124 Syscall filter successfully installed
2021-03-10T15:54:35.601Z INFO [beat] instance/beat.go:981 Beat info {"system_info": {"beat": {"path": {"config": "/usr/share/metricbeat", "data": "/usr/share/metricbeat/data", "home": "/usr/share/metricbeat", "logs": "/usr/share/metricbeat/logs"}, "type": "metricbeat", "uuid": "90d46663-2788-4f0a-92ad-e6de33a6be67"}}}
2021-03-10T15:54:35.601Z INFO [beat] instance/beat.go:990 Build info {"system_info": {"build": {"commit": "1da173a9e716715a7a54bb3ff4db05b5c24fc8ce", "libbeat": "7.10.1", "time": "2020-12-04T23:38:32.000Z", "version": "7.10.1"}}}
2021-03-10T15:54:35.601Z INFO [beat] instance/beat.go:993 Go runtime info {"system_info": {"go": {"os":"linux","arch":"amd64","max_procs":2, "version":"go1.14.12"}}}
2021-03-10T15:54:35.603Z INFO [api] api/server.go:64 Metrics endpoint listening on: 127.0.0.1:5066 (configured: localhost)
2021-03-10T15:54:35.606Z INFO [beat] instance/beat.go:997 Host info {"system_info": {"host": {"architecture":"x86_64","boot_time":"2021-02- 20T19:16:01Z","containerized":false,"name":"k8s-rke-cluster1-node02.pfg.dom","ip":["127.0.0.1/8","::1/128","10.100.1.186/24","fe80::250:56ff: fea8:a3c3/64","172.17.0.1/16","fe80::ecee:eeff:feee:eeee/64","10.42.5.0/32","fe80::248e:8ff:fea5:3ad7/64","fe80::ecee:eeff:feee:eeee/64","fe80:: ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/ 64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64"], "kernel_version":"3.10.0-1160.15.2.el7.x86_64","mac":["00:50:56:a8:a3:c3","02:42:e9:23:1a:65","ee:ee:ee:ee:ee:ee","26:8e:08:a5:3a:d7","ee:ee:ee: ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee: ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee"],"os":{"family":"redhat","platform":"centos","name":"CentOS Linux","version":"7 (Core)","major":7,"minor":9,"patch":2009,"codename":"Core"},"timezone":"UTC","timezone_offset_sec":0,"id":"d624e9f79ced4be589fadca86f6cdcf0"}}}
2021-03-10T15:54:35.606Z INFO instance/beat.go:299 Setup Beat: metricbeat; Version: 7.10.1
2021-03-10T15:54:35.606Z INFO [index-management] idxmgmt/std.go:184 Set output.elasticsearch.index to 'metricbeat-7.10.1' as ILM is enabled.
values.yml
# ====================== Index Lifecycle Management (ILM) ======================
# Configure index lifecycle management (ILM). These settings create a write
# alias and add additional settings to the index template. When ILM is enabled,
# output.elasticsearch.index is ignored, and the write alias is used to set the
# index name.
# Enable ILM support. Valid values are true, false, and auto. When set to auto
# (the default), the Beat uses index lifecycle management when it connects to a
# cluster that supports ILM; otherwise, it creates daily indices.
setup.ilm.enabled: false
setup.ilm.check_exists: false
daemonset:
# Annotations to apply to the daemonset
annotations: {}
# additionals labels
labels: {}
...
metricbeatConfig:
metricbeat.yml: |
metricbeat.modules:
output.elasticsearch:
hosts: '${ELASTICSEARCH_HOSTS:10.100.1.197:9200}'
username: elastic
password: <password>
indices:
- index: 'my-metric-%{[kubernetes.namespace]}-%{[agent.version]}-%{+yyyy.MM.dd}'