In addition to Kibana, curl commands, and clients, you can use third-party plug-ins or tools such as Elasticsearch-Head and Cerebro to access an Elasticsearch cluster. The Elasticsearch-Head plug-in is not maintained in versions later than Elasticsearch 5.x. Therefore, we recommend that you use Cerebro to access your Elasticsearch cluster. This topic describes how to use Cerebro to access an Elasticsearch cluster.
PrerequisitesFor more information, see Create an Alibaba Cloud Elasticsearch cluster.
For more information, see
Create an instance by using the wizard. The ECS instance is used to install Cerebro.
NoteIf your ECS instance resides in a different VPC from your Elasticsearch cluster, or you want to install Cerebro on an on-premises machine, you can access the Elasticsearch cluster over the Internet. In this case, take note of the following items:
wget https://github.com/lmenezes/cerebro/releases/download/v0.9.0/cerebro-0.9.0.tgz
tar -zxvf cerebro-0.9.0.tgz
vim cerebro-0.9.0/conf/application.conf
hosts
based on the following instructions.
Note You can associate Cerebro with multiple Elasticsearch clusters. Multiple clusters are separated with commas (,).
Parameter Description host The URL that is used to access the Elasticsearch cluster. Specify the URL in the format ofhttp://<Internal endpoint of the Elasticsearch cluster>:9200
. You can obtain the internal endpoint from the Basic Information page of the cluster. For more information, see View the basic information of a cluster. name The ID of the Elasticsearch cluster. You can obtain the ID from the Basic Information page of the cluster. For more information, see View the basic information of a cluster. username The username that is used to access the Elasticsearch cluster. Default value: elastic. Important
To ensure system security, we recommend that you do not use the elastic username. You can use a custom username instead. Before you use a custom username, you must create a role for it and grant the required permissions to the role. For more information, see
Use the RBAC mechanism provided by Elasticsearch X-Pack to implement access control.
password The password that corresponds to the username. The password that corresponds to the elastic username is specified when you create your Elasticsearch cluster. If you forget the password, you can reset it. For more information about the precautions and procedures for resetting a password, see Reset the access password for an Elasticsearch cluster.cd cerebro-0.9.0
bin/cerebro
After Cerebro is started, the result shown in the following figure is returned.
Thank you! We've received your feedback.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4