[stable/kibana,metricbeat,filebeat] default config is merged to user defined config #12199
Comments
I am experiencing the same issue. When I define an output destination for metricbeat in values.yaml file like so: ...
config:
metricbeat.config:
modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
processors:
- add_cloud_metadata:
output.logstash:
hosts: ["<snip>:<snip>"]
modules:
system:
enabled: true
config:
... the decoded metricbeat.yml from the kube-secret includes both the custom and default config: metricbeat.config:
modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
output.file:
filename: metricbeat
number_of_files: 5
path: /usr/share/metricbeat/data
rotate_every_kb: 10000
output.logstash:
hosts:
- <snip>:<snip>
processors:
- add_cloud_metadata: null Edit: I'm using v2.13.0 as well |
Had same problem here with stable/filebeat Trying to remove the values for |
The workaround is to use |
@dperetti |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. |
Is this a request for help?: no
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Version of Helm and Kubernetes:
Which chart:
stable/filebeat
stable/kibana
stable/metricbeat
What happened: As default
kibana.yml
,metricbeat.yml
andfilebeat.yml
config values are defined in yaml, those values are automatically merged to user defined configs.As a result, my
kibana.yml
become mixed as belowWhat you expected to happen: Only user defined config values are set in config file. Default config values needs to be empty
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
The text was updated successfully, but these errors were encountered: