Logging In to an Elasticsearch Cluster Using Kibana
Kibana is the official data visualization and exploration platform for Elasticsearch. It enables in-depth data analysis and interactive visualization. In CSS, Kibana is pre-built for each Elasticsearch cluster. You can start Kibana in one click, without installing anything. Kibana offers a comprehensive suite of dashboard features and visualization tools. It seamlessly integrates Elasticsearch's analytical capabilities, supporting the full analytics process from data exploration to actionable business insights.
CSS's Kibana supports multiple access methods. Steps needed to log in to an Elasticsearch cluster vary depending on the access method you choose. See Table 1.
|
Kibana Access Method |
Constraints |
Details |
|---|---|---|
|
One-click access to Kibana from the service console |
N/A |
Logging In to an Elasticsearch Cluster by Accessing Kibana Through the Console |
|
Accessing Kibana using a public IP address |
|
Logging In to an Elasticsearch Cluster by Accessing Kibana Using a Public IP Address |
|
Accessing Kibana using a private network address |
The client that accesses Kibana must be able to reach Kibana's private IP address. |
Logging In to an Elasticsearch Cluster by Accessing Kibana Using a Private Network Address |
Constraints on Kibana Usage
- You can customize the username, role name, and tenant name in Kibana.
- With an Elasticsearch 7.10.2 cluster (the image version is no earlier than 7.10.2_24.3.3_x.x.x), you can switch between Chinese and English on Kibana.
In the upper right corner of the Kibana console, click
, select a language, and confirm the language change.
Logging In to an Elasticsearch Cluster by Accessing Kibana Through the Console
- Log in to the CSS management console.
- In the navigation pane on the left, choose Clusters > Elasticsearch.
- In the cluster list, find the target cluster, and click Kibana in the Operation column to log in to the Kibana console.
- Non-security cluster: The Kibana console is displayed without asking for a username and password.
- Security cluster: Enter the username and password on the login page and click Log In to log in to the Kibana console. The default username is admin and the password is the one specified during cluster creation.
- After the login is successful, you can access the cluster through Kibana.
Logging In to an Elasticsearch Cluster by Accessing Kibana Using a Public IP Address
- Only clusters in security mode support Kibana access through a public IP address.
- Kibana public network access cannot be enabled for Elasticsearch security-mode clusters created before June 2020, that is, when the feature first became available.
- The whitelist that controls Kibana public network access depends on whitelist support by the ELB service. After you update the whitelist, the new settings take effect immediately for new connections. For existing persistent connections using the IP addresses that have been removed from the whitelist, the new settings take effect in approximately 1 minute after these connections are disconnected.
- If you disable Kibana public network access and then re-enable it, the public IP address for accessing Kibana may change. Exercise caution.
- Log in to the CSS management console.
- In the navigation pane on the left, choose Clusters > Elasticsearch.
- In the cluster list, click the name of the target cluster. The cluster information page is displayed.
- Choose Cluster Access > Kibana Public Network Access to check whether Kibana public network access is enabled for the cluster.
- Yes: Go to 6.
- No: Go to the next step.
- Enable Kibana public network access for the Elasticsearch cluster.
- On the Kibana Public Network Access page, toggle on the Kibana Public Network Access button.
- In the displayed Kibana Public Network Access dialog box, set the parameters.
- Click OK to confirm the settings.
If Kibana public network access is already enabled, you can modify relevant settings.
- After Kibana public network access is enabled, obtain the Kibana public IP address on the Kibana Public Network Access page.
Figure 1 Obtaining the Kibana public IP address
- Enter the public IP address for Kibana in the browser address box to go to the Kibana login page.
Enter the username and password on the login page and click Log In to log in to the Kibana console. The default username is admin and the password is the one specified during cluster creation.
- After the login is successful, you can access the Elasticsearch cluster through Kibana.
Logging In to an Elasticsearch Cluster by Accessing Kibana Using a Private Network Address
The client that accesses Kibana must be able to reach Kibana's private IP address.
- Log in to the CSS management console.
- In the navigation pane on the left, choose Clusters > Elasticsearch.
- In the cluster list, click the name of the target cluster. The cluster information page is displayed.
- Select the Overview tab. In the Network Information area, record Private IPv4 Address.
- Obtain Kibana's private IP address.
By changing the port number in the cluster's private IP address from 9200 to 5601, you get Kibana's private IP address. For example, if the cluster's private IPv4 address is xx.xx.xx.xx:9200, the private IP address of Kibana is xx.xx.xx.xx:5601.
- (Optional) Configure a return route. To enable a client to access the cluster's Kibana console across different VPCs, configure a route for the Elasticsearch cluster.
- Connect the client and Kibana through a Direct Connect or VPC peering connection.
- Configure the route connecting the Elasticsearch cluster and the client.
On the Overview tab, find Cluster Route in the Network Information area, and click Add Route under it. In the displayed dialog box, set IP Address and Subnet Mask.
For details, see Configuring Routes for an Elasticsearch Cluster.
- Access Kibana.
- If the security mode is enabled for an Elasticsearch cluster, the Kibana access address is https://{Kibana private network address}, for example, https://xx.xx.xx.xx:5601.
- If the security mode is disabled, the Kibana access address is http://{Kibana private network address}, for example, http://xx.xx.xx.xx:5601.
Configuring a Custom Kibana Base Path
For multi-cluster management, the default root path access method of Kibana may not meet security authentication and request verification requirements. CSS allows you to configure a custom Base Path for Kibana. This allows you to set a dedicated access path for each cluster to implement fine-grained access control, simplify multi-cluster management, and improve overall system security.
You can configure a custom base path in either of the following ways:
- Method 1 (recommended): Modify Base Path on the CSS console.
This method is not affected by the cluster version or your current account.
- Method 2: Modify Base Path on the Kibana console.
Only the cluster administrator admin under Global Tenant has the permission to configure a custom Kibana Base Path, which applies globally.
The cluster version must be 7.10.2 and the image version must be 7.10.2_24.3.3_x.x.x or later.
Related Documents
- For details about how to use in-house developed Kibana to access Elasticsearch clusters in CSS, see How Do I Connect In-house Developed Kibana to an Elasticsearch Cluster in CSS?
- If Kibana cannot be launched, see Failed to Open Kibana.
- For routine O&M tasks (such as shard adjustment, index management, and performance monitoring), you are advised to use Cerebro for cluster login. For details, see Logging In to an Elasticsearch Cluster Through Cerebro.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
