A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.alibabacloud.com/help/en/es/use-cases/use-cerebro-to-access-an-elasticsearch-cluster below:

Use Cerebro to access an Elasticsearch cluster - Elasticsearch

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.

Prerequisites Background information Procedure
  1. Connect to the ECS instance.
  2. Download and decompress the Cerebro installation package.
  3. Modify the configuration file of Cerebro and associate Cerebro with the Elasticsearch cluster that you want to access.
    1. Open the application.conf file.
      vim cerebro-0.9.0/conf/application.conf
    2. Configure 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 of http://<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.
    3. Start Cerebro after you save the modifications.
      cd cerebro-0.9.0
      bin/cerebro

      After Cerebro is started, the result shown in the following figure is returned.

  4. Use Cerebro to access the Elasticsearch cluster.
    1. Configure a security group for the ECS instance. On the Inbound tab, add the IP address of the Elasticsearch cluster that you want to access and set Port Range to 9000.
    2. Enter http://<Public IP address of the ECS instance>:9000 in the address bar of a browser.
    3. On the logon page of Cerebro, click the ID of the Elasticsearch cluster that you want to access.
    4. In the Cerebro console, view the status and the number of indexes, shards, and documents of the cluster and perform operations as required.

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