Hi,
I am using ELK 6.3.2 version and I have used below configuration steps for logstash keystore
set +o history
export LOGSTASH_KEYSTORE_PASS=mypassword
set -o history
logstash-keystore create
logstash-keystore add user
logstash-keystore add es_pwd
and modifed logstash.yml as below :
xpack.monitoring.elasticsearch.password: ${LOGSTASH_KEYSTORE_PASS}
and conf files as below:
input {
{elasticsearch{
hosts => ["{LOGSTASH_HOST}"]
user => "{USER}"
password => "${ES_PWD}"
ssl => true
}
}
Error :
[2018-12-05T05:40:29,568][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"Java::OrgLogstashSecretStore::SecretStoreException::LoadException", :message=>"Found a file at /opt/guardian/conf/logstash/settings/logstash.keystore, but it is not a valid Logstash keystore.", :backtrace=>["org.logstash.secret.store.backend.JavaKeyStore.load(org/logstash/secret/store/backend/JavaKeyStore.java:265)", "org.logstash.secret.store.backend.JavaKeyStore.load(org/logstash/secret/store/backend/JavaKeyStore.java:40)", "org.logstash.secret.store.SecretStoreFactory.doIt(org/logstash/secret/store/SecretStoreFactory.java:107)", "org.logstash.secret.store.SecretStoreFactory.load(org/logstash/secret/store/SecretStoreFactory.java:93)", "java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)", "org.jruby.javasupport.JavaMethod…
can anybody help me on this?