1
0

pause-export.asciidoc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. [role="xpack"]
  2. [testenv="basic"]
  3. [[pause-export]]
  4. == Pausing Data Collection
  5. To stop generating {monitoring} data in {es}, disable data collection:
  6. [source,yaml]
  7. ---------------------------------------------------
  8. xpack.monitoring.collection.enabled: false
  9. ---------------------------------------------------
  10. When this setting is `false`, {es} monitoring data is not collected and all
  11. monitoring data from other sources such as {kib}, Beats, and Logstash is ignored.
  12. You can update this setting by using the
  13. {ref}/cluster-update-settings.html[Cluster Update Settings API].
  14. If you want to separately disable a specific exporter, you can specify the
  15. `enabled` setting (which defaults to `true`) per exporter. For example:
  16. [source,yaml]
  17. ---------------------------------------------------
  18. xpack.monitoring.exporters.my_http_exporter:
  19. type: http
  20. host: ["10.1.2.3:9200", "10.1.2.4:9200"]
  21. enabled: false <1>
  22. ---------------------------------------------------
  23. <1> Disable the named exporter. If the same name as an existing exporter is not
  24. used, then this will create a completely new exporter that is completely
  25. ignored. This value can be set dynamically by using cluster settings.
  26. NOTE: Defining a disabled exporter prevents the default exporter from being
  27. created.
  28. To re-start data collection, re-enable these settings.