Hi,
I did a deployment and upgrade, from logstash 7.6.2 deployed binary to logstash 7.10.2 dockerized.
I used the same logstash.keystore file (copy and paste .keystore from 7.6.2 to /usr/share/logstash/config inside container 7.10.2).
Next you find the errors reported:
Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:.monitoring-logstash...
Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:my_pipeline....
Both errors have the same exception:
exception=>Java::OrgLogstashSecretStore::SecretStoreException::LoadException,
:message=>Found a file at /usr/share/logstash/config/logstash.keystore, but it is not a valid Logstash keystore.
Was it a mistake to use the same file in different logstash versions?
notes:
- xpack.monitoring.elasticsearch.user/password defined in logstash.yml it has no variables. Shouldn't take them from keystore.
- my_pipeline in output elasticsearch definition contains variables for username and password.
Does anybody have any suggestion to overcome the error?
thanks!!