2017-11-02 12:25:10 -04:00
|
|
|
|
[role="xpack"]
|
|
|
|
|
[[es-monitoring]]
|
|
|
|
|
= Monitoring {es}
|
|
|
|
|
|
|
|
|
|
[partintro]
|
|
|
|
|
--
|
|
|
|
|
{monitoring} enables you to easily monitor the health of your {es} cluster. The
|
2018-02-23 11:23:16 -05:00
|
|
|
|
monitoring metrics are collected from each node and stored in {es} indices.
|
|
|
|
|
|
|
|
|
|
Each {es} node is considered unique based on its persistent UUID, which is
|
|
|
|
|
written on first start to its <<path-settings,`path.data`>> directory, which
|
|
|
|
|
defaults to `./data`.
|
|
|
|
|
|
2018-04-16 17:57:42 -04:00
|
|
|
|
All settings associated with {monitoring} in {es} must be set in either the
|
|
|
|
|
`elasticsearch.yml` file for each node or, where possible, in the dynamic
|
|
|
|
|
cluster settings. For more information, see <<configuring-monitoring>>.
|
|
|
|
|
|
|
|
|
|
[[es-monitoring-overview]]
|
|
|
|
|
{es} is also at the core of {monitoring} across the Elastic Stack. In all cases,
|
|
|
|
|
{monitoring} documents are just ordinary JSON documents built by monitoring each
|
|
|
|
|
Elastic Stack component at some collection interval, then indexing those
|
|
|
|
|
documents into the monitoring cluster. Each component in the stack is
|
|
|
|
|
responsible for monitoring itself and then forwarding those documents to {es}
|
|
|
|
|
for both routing and indexing (storage).
|
|
|
|
|
|
|
|
|
|
The routing and indexing processes in {es} are handled by what are called
|
|
|
|
|
<<es-monitoring-collectors,collectors>> and
|
|
|
|
|
<<es-monitoring-exporters,exporters>>. In the past, collectors and exporters
|
|
|
|
|
were considered to be part of a monitoring "agent", but that term is generally
|
|
|
|
|
not used anymore.
|
|
|
|
|
|
|
|
|
|
You can view monitoring data from {kib} where it’s easy to spot issues at a
|
2018-02-23 11:23:16 -05:00
|
|
|
|
glance or delve into the system behavior over time to diagnose operational
|
|
|
|
|
issues. In addition to the built-in status warnings, you can also set up custom
|
|
|
|
|
alerts based on the data in the monitoring indices.
|
2017-11-02 12:25:10 -04:00
|
|
|
|
|
2018-04-16 17:57:42 -04:00
|
|
|
|
For an introduction to monitoring your Elastic stack, including Beats, Logstash,
|
|
|
|
|
and {kib}, see {xpack-ref}/xpack-monitoring.html[Monitoring the Elastic Stack].
|
2017-11-02 12:25:10 -04:00
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
|
2018-04-16 17:57:42 -04:00
|
|
|
|
include::collectors.asciidoc[]
|
|
|
|
|
include::exporters.asciidoc[]
|
|
|
|
|
include::pause-export.asciidoc[]
|
|
|
|
|
|