-
Notifications
You must be signed in to change notification settings - Fork 157
Elasticsearch 8
You can use elasticvue to connect to an elasticsearch 8 cluster. The following defaults are changed in elasticsearch 8:
- Elasticsearch 8 configures credentials by default, you can no longer access the cluster without logging in
- Elasticsearch 8 uses ssl by default, make sure that your browser trusts the certificate
You can no longer simply connect to a cluster by entering http://localhost:9200
and clicking "connect".
- You need the credentials for your cluster
- Your browser needs to trust the ssl certificate used by your cluster
Elastisearch 8 will generate a password when you start the cluster for the first time. Check the logs and save the password. Use the provided password for the elastic
user.
You can change the password if needed:
bin/elasticsearch-reset-password -u elastic -i
You have to import the CA that was used to generate the certificate. See Access clusters using SSL (Option 2)
When you browsers trusts the ssl certificate simply use the elastic
user and the provided password to login via elasticvue.
Setting the environment variable xpack.security.enabled=false
will cause elasticsearch 8 to have the same behaviour as elasticsearch 7 (no auth, no SSL needed). Note that you should never use this in publicly exposed instances.