Hi i am trying to install elk stack 8.5.1 on amazon linux 2 redhat. When i try to start the service getting the following error
I have set xpack.security.enabled: true
what are the expected configurations? i dont have ssl certificate for this machine
Please do not share screenshots of error messages, they are pretty hard to read sometimes and some people may not be even able to read it.
Share the error log as plain text using the
</> button in the editor.
sorry for the inconvenience
fatal exception while booting Elasticsearch
org.elasticsearch.ElasticsearchSecurityException: invalid configuration for xpack.security.transport.ssl - [xpack.security.transport.ssl.enabled] is not set, but the following settings have been configured in elasticsearch.yml : [xpack.security.transport.ssl.keystore.secure_password,xpack.security.transport.ssl.truststore.secure_password]
Can you share your entire
Also, share the entire Elasticsearch error log, what you shared now is completely different from the error in your image.
The problem was fixed. the old elasticsearch.yml file wasnt getting updated. I am installing elastic stack with authentication using ansible playbook. The same isnt working for 8.5.1. Can you please share how to setup authentication for elk 8.5.1?
For older version my playbook was running fine. But for 8.5.1 if i disable authentication i am prompted for token, which is don't see when i install elasticsearch using playbook