I have installed Elasticsearch 7, on Ubuntu. I believe X-Pack is installed by default, but I need to enable it.
In which file should I set this setting?
My cluster settings are in: /etc/elasticsearch/elasticsearch.yml
and /etc/default/elasticsearch
, but I cannot see xpack.security.enabled
in either of files...
write the following line in /etc/elasticsearch/elasticsearch.yml :
xpack.security.enabled: true
when you enable xpack.security, you need to create user and password unless you cannot use elasticsearch or kibana. follow this guide: https://www.elastic.co/guide/en/elastic-stack-overview/current/get-started-enable-security.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With