Deprecated settings for logstash

getting msg

[logstash.outputs.elasticsearch] You are using a deprecated config setting "truststore_password" set in elasticsearch. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. Use 'ssl_truststore_password' instead. If you have any questions about this, please visit the logstash channel on freenode irc.

Not sure where it needs to be replaced, our conf.d is empty as we have everything under logstash.yml

this is the current way on our yml file

xpack.management.elasticsearch.ssl.truststore.path: /etc/logstash/logstash.truststore

xpack.management.elasticsearch.ssl.truststore.password:

xpack.management.elasticsearch.ssl.keystore.path: /etc/logstash/logstash-abc.keystore

xpack.management.elasticsearch.ssl.keystore.password:

xpack.management.elasticsearch.ssl.verification_mode:

It is referring to the truststore_password option of an elasticsearch output in your pipeline configuration, not in the YAML. It is deprecated.

can you guide where should I look to make these changes, I could not find in the files under logstash piplines

If logstash is logging that warning then one of your pipelines has an elasticsearch output that includes the truststore_password option. You need to change that to use ssl_truststore_password.

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