This topic describes how to enable the X-Pack Monitoring feature to monitor your Alibaba
Cloud Logstash cluster. After you enable it for your Logstash cluster and associate
the cluster with an Elasticsearch cluster, you can monitor the Logstash cluster in
the Kibana console of the Elasticsearch cluster.
Procedure
- Log on to the Alibaba Cloud Elasticsearch console.
- In the top navigation bar, select the region where your cluster resides.
- In the left-side navigation pane, click Logstash Clusters. On the page that appears, find the target cluster and click its ID in the Cluster ID/Name column.
- In the left-side navigation pane, click Cluster Monitoring.
- In the Monitoring and Alerting section, click Edit next to X-Pack Monitoring.
- In the Edit Configuration panel, set X-Pack Monitoring to Enable and associate the Logstash cluster with your Elasticsearch cluster.

Parameter |
Description |
Elasticsearch Cluster |
Select the Elasticsearch cluster that you use to associate with the Logstash cluster.
You can select only an Elasticsearch cluster in the same VPC and of the same version
as the Logstash cluster.
|
Username |
Enter the username of the Elasticsearch cluster. |
Password |
Enter the password of the username for the Elasticsearch cluster. |
- Click Test Connectivity.
If no error is reported, the Elasticsearch cluster is connected.
Warning Enabling or disabling X-Pack Monitoring triggers a restart of the Logstash cluster.
This may affect your services. Proceed with caution.
- Click OK.
The system returns to the Cluster Monitoring page and restarts the cluster.
- After the cluster is restarted, view the monitoring data of the cluster.
After the cluster is restarted, the value of
X-Pack Monitoring changes to
Enable, and the associated Elasticsearch cluster appears.
Notice You can view the monitoring data of the Logstash cluster in the Kibana console only
after the cluster is restarted.
- On the Cluster Monitoring page, click Kibana Console.
- Log on to the Kibana console of the associated Elasticsearch cluster.
- In the left-side navigation pane, click Monitoring.
- In the Logstash section, view the monitoring data of the Logstash cluster.