You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Beat version: metricbeat version 7.17.6 (amd64), libbeat 7.17.6 [121b2ab96f118e6999f0a4be8e98827a809337db built 2022-08-23 12:50:12 +0000 UTC]
Description of the problem:
When adding new credentials to the keystore and then adding a new module config file referencing the new credentials to a live-reloading enabled and running Metricbeat instance, it fails to reload:
2022-09-08T21:20:19.666+0200 ERROR [reload] cfgfile/list.go:69 Unable to hash given config: missing field accessing '0.password' (source:'/path/to/metricbeat/conf/modules/elasticsearch.yml')
It seems that live reloading fails to take the modified keystore into account, before actually loading the new module config. This makes live reloading currently unusable with external credentials.
Note that this issue is different from similar issues mentioning that error message, as the error only appears with live reloading. When the Metricbeat instance is restarted, the configuration loads properly.
Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!
Beat version:
metricbeat version 7.17.6 (amd64), libbeat 7.17.6 [121b2ab96f118e6999f0a4be8e98827a809337db built 2022-08-23 12:50:12 +0000 UTC]
Description of the problem:
When adding new credentials to the keystore and then adding a new module config file referencing the new credentials to a live-reloading enabled and running
Metricbeat
instance, it fails to reload:It seems that live reloading fails to take the modified keystore into account, before actually loading the new module config. This makes live reloading currently unusable with external credentials.
Note that this issue is different from similar issues mentioning that error message, as the error only appears with live reloading. When the Metricbeat instance is restarted, the configuration loads properly.
Steps to Reproduce:
conf/metricbeat.yml
:Metricbeat
withAPP_CONF=/path/to/metricbeat/conf
conf/modules/elasticsearch.yml
:The text was updated successfully, but these errors were encountered: