This topic describes how to add ElasticSearch Head to Google Chrome. This allows you to access and perform operations on an Elasticsearch cluster by using the public endpoint of the cluster.
- ElasticSearch Head is a third-party service or extension.
- If you use ElasticSearch Head to access an Elasticsearch cluster over the Internet, you can access the cluster only by using its public endpoint and port.
- Open Google Chrome and visit ElasticSearch Head https://chrome.google.com/webstore/detail/elasticsearch-head/ffmkiejjmecolpfloofpjologoblkegm. On the extension page, click Add to Chrome.
- In the message that appears, click Add extension.
The extension is downloaded and automatically installed on Google Chrome. You are notified that ElasticSearch Head is installed when the installation is complete.
- Log on to the Alibaba Cloud Elasticsearch console. In the left-side navigation pane, click Elasticsearch Clusters. On the Clusters
page, find the target cluster and click its ID. In the left-side navigation pane of
the cluster details page, click Security. On the Security page, enable Public Network Access and add the public IP address
of your host on which ElasticSearch Head is installed to the public network whitelist.
For more information, see Configure a whitelist to access an Elasticsearch cluster over the Internet or a VPC.Note
- To query the public IP address of your host, visit https://www.whatismyip.com/.
- If you enable Public Network Access, requests from all IPv4 addresses are disabled by default. You can add your host IP address to the public network whitelist. After the IP address is added to the whitelist, the host can be used to access Elasticsearch.
- Click the ElasticSearch Head icon on the right side of the Google Chrome address bar
to open the Elasticsearch cluster connection page.
http://<Public network address of an Elasticsearch cluster>:<Port>/in the address bar and click Connect.You can obtain the public endpoint and port of the cluster on the Basic Information page. The default port is 9200. For example, enter the following URL in the address bar:
- In the Sign in dialog box, enter the username and password that you use to log on to the Kibana
console of the Elasticsearch cluster into the Username and Password fields. Then, click Sign in.
Note Elasticsearch Standard Edition integrates X-Pack for security purposes. Therefore, you must enter the username and password for authentication to access an Elasticsearch cluster of the Standard Edition. If the Sign in dialog box does not appear, verify that the public network whitelist of the cluster contains the public IP address of your host, or clear your browser cache and try again.