All Products
Search
Document Center

Elasticsearch:Enable X-Pack for Logstash

Last Updated:Feb 02, 2026

This guide explains how to enable X-Pack for your Alibaba Cloud Logstash cluster. By associating your Logstash cluster with an Elasticsearch cluster, you can monitor Logstash performance and health directly from the Elasticsearch Kibana console.

Prerequisites

Usage notes

  • Logstash cluster restart: Enabling or disabling X-Pack will restart the Logstash cluster. will cause your Logstash cluster to restart. This may briefly affect your services. Plan this operation during a maintenance window or off-peak hours.

  • Monitoring data visibility: Logstash monitoring data will only become visible in the Kibana console after the Logstash cluster successfully restarts following the configuration change.

Procedure

  1. Go to the Logstash Clusters page of the Alibaba Cloud Elasticsearch console.

  2. Navigate to the target cluster.

    1. In the top navigation bar, select the region where the cluster resides.

    2. On the Logstash Clusters page, find the cluster and click its ID.

  3. In the left navigation pane, click Cluster Monitoring.

  4. In the Monitoring and Alerting Configuration section, locate X-Pack Monitoring and click Modify.

  5. In the Modify Configuration panel, configure the feature:

    • Set X-Pack Monitoring to Enable.

    • For Elasticsearch Cluster, select your Elasticsearch cluster from the dropdown.

    • For Username and Password, enter your credentials to access Elasticsearch.

  6. Click Test Connectivity.

    Confirm that no errors are reported, indicating a successful connection.

  7. Click OK to apply the settings.

    You will return to the Cluster Monitoring page and the Logstash cluster restarts.

Verify monitoring data in Kibana

Allow the Logstash cluster to complete its restart. The X-Pack Monitoring status should then show as Enable with the associated Elasticsearch cluster details.

  1. Access Kibana console:

    1. In the left navigation menu of your Elasticsearch cluster's details page, choose Data Visualization.

    2. Log on to the Kibana console.

  2. Once in Kibana, navigate to the Monitoring section.

    Note

    Kibana console operations may vary slightly depending on your Elasticsearch version.

  3. Under the Logstash section, you should now see the monitoring data for your Logstash cluster.

    Logstash监控页面