IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Elasticsearch module
editElasticsearch module
editThere are two modules that collect metrics about Elasticsearch:
-
The Elasticsearch module contains a minimal set of metrics to enable
monitoring of Elasticsearch across multiple versions. The default metricsets in
this module are
node
andnode_stats
. -
The Elasticsearch X-Pack module enables you to monitor more Elasticsearch
metrics with our Elastic Stack monitoring features. The default metricsets in this
module are
ccr
,cluster_stats
,enrich
, ``index`,index_recovery
,index_summary
,ml_job
,node_stats
, andshard
.
Compatibility
editThe Elasticsearch module works with Elasticsearch 6.7.0 and later.
Example configuration
editThe Elasticsearch module supports the standard configuration options that are described in Modules. Here is an example configuration:
metricbeat.modules: - module: elasticsearch metricsets: - node - node_stats #- index #- index_recovery #- index_summary #- shard #- ml_job period: 10s hosts: ["http://localhost:9200"] #username: "elastic" #password: "changeme" #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] # Set to false to fetch all entries #index_recovery.active_only: true # Set to true to send data collected by module to X-Pack # Monitoring instead of metricbeat-* indices. #xpack.enabled: false
This module supports TLS connections when using ssl
config field, as described in SSL.
It also supports the options described in Standard HTTP config options.
Metricsets
editThe following metricsets are available: