To stop generating X-Pack monitoring data in Elasticsearch, disable data collection:
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 separately disable a specific exporter, you can specify the
enabled setting (which defaults to
true) per exporter. For example:
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.