index.asciidoc 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [role="xpack"]
  2. [testenv="basic"]
  3. [[es-monitoring]]
  4. = Monitoring {es}
  5. [partintro]
  6. --
  7. The Elastic {monitor-features} enable you to easily monitor the health of
  8. your {es} cluster. The monitoring metrics are collected from each node and
  9. stored in {es} indices.
  10. TIP: In production environments, it is recommended to store the monitoring data
  11. in a separate _monitoring cluster_. See
  12. {stack-ov}/monitoring-production.html[Monitoring in a production environment].
  13. Each {es} node is considered unique based on its persistent UUID, which is
  14. written on first start to its <<path-settings,`path.data`>> directory, which
  15. defaults to `./data`.
  16. All settings associated with monitoring in {es} must be set in either the
  17. `elasticsearch.yml` file for each node or, where possible, in the dynamic
  18. cluster settings. For more information, see <<configuring-monitoring>>.
  19. [[es-monitoring-overview]]
  20. {es} is also at the core of monitoring across the {stack}. In all cases,
  21. monitoring documents are just ordinary JSON documents built by monitoring each
  22. {stack} component at some collection interval, then indexing those
  23. documents into the monitoring cluster.
  24. Each component in the stack is responsible for monitoring itself and then
  25. forwarding those documents to the {es} production cluster for both routing and
  26. indexing (storage). The routing and indexing processes in {es} are handled by
  27. what are called <<es-monitoring-collectors,collectors>> and
  28. <<es-monitoring-exporters,exporters>>.
  29. beta[] Alternatively, in 6.4 and later, you can use {metricbeat} to collect
  30. monitoring data about {kib} and ship it directly to the monitoring cluster,
  31. rather than routing it through the production cluster. In 6.5 and later, you
  32. can also use {metricbeat} to collect and ship data about {es}.
  33. You can view monitoring data from {kib} where it’s easy to spot issues at a
  34. glance or delve into the system behavior over time to diagnose operational
  35. issues. In addition to the built-in status warnings, you can also set up custom
  36. alerts based on the data in the monitoring indices.
  37. For an introduction to monitoring your {stack}, including Beats, {ls}, and {kib},
  38. see {stack-ov}/xpack-monitoring.html[Monitoring the {stack}].
  39. --
  40. include::collectors.asciidoc[]
  41. include::exporters.asciidoc[]
  42. include::pause-export.asciidoc[]