Filebeat Keystore broken

Hi All,

seems that if I add a keystore and the password used has a comma (example: HDiwmdei,dd*d ), the keystore doesn't work.

The error at the startup is:
filebeat test config
Exiting: error initializing publisher: can not convert 'object' into 'string' accessing 'output.elasticsearch.password' (source:'/etc/filebeat/filebeat.yml')

Is there a way to use also password with a comma in the keystore?

Thanks in advance

Hi @Alive,

have you tried quoting the password at output.elasticsearch.password?

Hi @pmercado

If I use the password in clear with quote, it works.
But I have to use the keystore for the secret.

I have reproduced the issue. I have followed the documentation and set a password which contains a comma. I got the same error message as you.

Do you mind opening an issue on Github? https://github.com/elastic/beats/issues/new?template=bug-report.md

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.