Spec-Zone.ru › Elasticsearch 7
›Elasticsearch Guide [7.17] ›Monitor a cluster ›Collecting monitoring data using legacy collectors

Pausing data collection

To stop generating X-Pack monitoring data in Elasticsearch, disable data collection:

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:

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:

xpack.monitoring.exporters.my_http_exporter:
  type: http
  host: ["10.1.2.3:9200", "10.1.2.4:9200"]
  enabled: false 

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.

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

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

© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/pause-export.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API