Logging In to an Elasticsearch Cluster Using Kibana
With CSS, Elasticsearch clusters provide Kibana by default. Users can access Kibana in one click without installing anything. Additionally, the Elasticsearch clusters in CSS support the visualization and Elasticsearch statistics analysis capabilities of open-source Kibana.
Kibana supports multiple access methods. Steps needed to log in to an Elasticsearch cluster vary depending on the access method you choose. For details, 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 |
Only servers in the same VPC can access Kibana using a private network address of the Elasticsearch cluster. |
Logging In to an Elasticsearch Cluster by Accessing Kibana Using a Private Network Address |
In-house built Kibana |
|
How Do I Connect the User-Built Kibana to Elasticsearch on CSS? |
Constraints on Kibana Usage
- You can customize the username, role name, and tenant name in Kibana.
Logging In to an Elasticsearch Cluster by Accessing Kibana Through the Console
- Log in to the CSS management console.
- On the Clusters page, locate the target cluster and click Access Kibana in the Operation column to go to the Kibana login page.
- 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 go 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 clusters 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.
- Log in to the CSS management console.
- Enable Kibana public network access for the Elasticsearch cluster. You can do that either when creating an Elasticsearch cluster or afterwards.
- For how to enable Kibana public network access when creating an Elasticsearch cluster, see Creating an Elasticsearch Cluster.
- To enable public network access for Kibana for an existing cluster, perform the following steps:
- Choose Clusters in the navigation pane. On the Clusters page, click the name of the target cluster.
- Click the Kibana Public Access tab, and enable Kibana Public Access.
- On the displayed page, set parameters. If Kibana public network access is already enabled, you can modify relevant settings.
Table 2 Configuring public network access for Kibana Parameter
Description
Bandwidth
Bandwidth for accessing Kibana through a public IP address
Value range: 1 to 100.
Unit: Mbit/s
Access Control
If you disable this function, all IP addresses can access Kibana through the public IP address. If you enable this function, only IP addresses or IP address ranges in the whitelist can access Kibana through the public IP address.
Whitelist
IP addresses or IP address ranges allowed to access the cluster. Use commas (,) to separate multiple IP addresses or ranges. This parameter can be configured only when Access Control is enabled.
You are advised to enable the whitelist.
NOTE: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.
- Click OK.
- After Kibana public network access is enabled, obtain the Kibana public IP address on the Kibana Public 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 administrator password you 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
Only servers in the same VPC can access Kibana using a private network address of the Elasticsearch cluster.
- Log in to the CSS management console.
- On the Clusters page, click the name of a cluster. The Cluster Information page is displayed.
- On the Cluster Information page, obtain the cluster's private network address.
Figure 2 Obtaining the private IP address
- Change the port number in the cluster's private network address from 9200 to 5601, which becomes the private network address of Kibana. For example, if the cluster's private network IPv4 address is 192.168.0.***:9200, the private network address of Kibana is 192.168.0.***:5601.
- On the server, enter the private network address of Kibana to go to the Kibana login page.
- 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 go 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.
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