English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
To monitor the health of the cluster, the monitoring feature collects metrics from each node and stores them in the Elasticsearch index. All settings related to monitoring in Elasticsearch must be in the elasticsearch.yml file for each node, or, if possible, in dynamic cluster settings.
To start monitoring, we need to check the cluster settings, which can be done in the following ways:
GET _cluster/settings { "persistent" : { }, "transient" : { } }
Each component in the stack is responsible for monitoring itself and then forwarding these documents to the Elasticsearch production cluster for routing and indexing (storage). The routing and indexing process in Elasticsearch is handled by so-called collectors and exporters.
The collector runs once per collection interval to obtain data from the public API of the Elasticsearch it monitors. After data collection is completed, the data is batched and sent to the monitoring cluster for export.
Each data type collects only one collector. Each collector can create zero or more monitored documents.
Les exportateurs reroutent les données collectées à partir de toute source Elasticsearch vers le cluster de surveillance. Plusieurs exportateurs peuvent être configurés, mais les réglages par défaut et les réglages réguliers consistent à utiliser un exportateur. Les exportateurs peuvent être configurés au niveau du nœud et au niveau du cluster.
Il y a deux types d'exportateurs dans Elasticsearch-
local − Cet exportateur reroute les données vers le même cluster
http −Exportateur préféré, utilisable pour rerouter les données vers n'importe quel cluster Elasticsearch pris en charge accessible via HTTP.
Avant que les programmes d'exportation puissent reroute les données de surveillance, elles doivent configurer certaines ressources Elasticsearch. Ces ressources incluent les modèles et les pipelines d'ingestion