Secure elasticsearch with password

Hello elk community,

If it is possible, I want to know how to secure the elasticsearch as for example in Mysql the access with login and password, that is to say the access to the elasticsearch is done by password ??

Best Regards,
Ayoub Labidi

More informations are here

  1. Add xpack.security.enabled: true into elasticsearch.yml

  2. If you use a single node, then add discovery.type: single-node
    to elasticsearch.yml

  3. Run your cluster

  4. Add build in user : /bin/elasticsearch-setup-passwords interactive

1 Like

thanks a lot @ylasri

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