Type to search.

Pausing data collection

Self-managed Deprecated 7.16+ …

Self-managed deployments are Elastic Stack deployments managed without the assistance of an orchestrator.

Availability

  • Planned for removal

    This functionality is planned to be removed in an upcoming Self-managed Elastic deployments update. Subject to changes.

  • Deprecated since 7.16

    This functionality is deprecated. You can still use it, but it'll be removed in a future Self-managed Elastic deployments update.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Warning

The Elasticsearch Monitoring plugin is deprecated and will be removed in 10.0. Choose one of the following replacements to monitor your Elasticsearch cluster:

  • AutoOps (recommended): Simplifies cluster management through performance recommendations, resource utilization visibility, and real-time issue detection with resolution paths.
  • Stack monitoring with Elastic Agent or Metricbeat: Collect logs and metrics from Elasticsearch and ship them to a monitoring cluster for visualization in Kibana.

To help you decide, refer to the AutoOps and Stack Monitoring comparison.

To stop generating monitoring data in Elasticsearch, disable data collection:

YAML
xpack.monitoring.collection.enabled: false

When this setting is false, Elasticsearch monitoring data is not collected and all monitoring data from other sources such as Kibana, Beats, and Logstash is ignored.

You can update this setting by using the Cluster Update Settings API.

If you want to collect data from sources such as Kibana, Beats, and Logstash but not collect data about your Elasticsearch cluster, you can disable data collection just for Elasticsearch:

YAML
xpack.monitoring.collection.enabled: true
xpack.monitoring.elasticsearch.collection.enabled: false

If you want to separately disable a specific exporter, you can specify the enabled setting (which defaults to true) per exporter. For example:

YAML
xpack.monitoring.exporters.my_http_exporter:
  type: http
  host: ["10.1.2.3:9200", "10.1.2.4:9200"]
  enabled: false
  1. Disable the named exporter. If the same name as an existing exporter is not used, then this will create a completely new exporter that is completely ignored. This value can be set dynamically by using cluster settings.
Note

Defining a disabled exporter prevents the default exporter from being created.

To re-start data collection, re-enable these settings.