//// This file is generated! See scripts/docs_collector.py //// [[metricbeat-module-elasticsearch]] == Elasticsearch module beta[] The Elasticsearch module contains a minimal set of metrics to enable monitoring of Elasticsearch across multiple versions. To monitor more Elasticsearch metrics, use our {monitoringdoc}/xpack-monitoring.html[monitoring] feature. The default metricsets are `node` and `node_stats`. [float] === Compability The Elasticsearch module is tested with Elasticsearch 6.3 and is expected to work with all 6.x versions. [float] === Example configuration The Elasticsearch module supports the standard configuration options that are described in <>. Here is an example configuration: [source,yaml] ---- metricbeat.modules: - module: elasticsearch metricsets: - node - node_stats #- index #- index_recovery #- index_summary #- shard #- ml_job period: 10s hosts: ["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 ---- This module supports TLS connections when using `ssl` config field, as described in <>. It also supports the options described in <>. [float] === Metricsets The following metricsets are available: * <> * <> * <> * <> * <> * <> * <> * <> * <> * <> include::elasticsearch/ccr.asciidoc[] include::elasticsearch/cluster_stats.asciidoc[] include::elasticsearch/index.asciidoc[] include::elasticsearch/index_recovery.asciidoc[] include::elasticsearch/index_summary.asciidoc[] include::elasticsearch/ml_job.asciidoc[] include::elasticsearch/node.asciidoc[] include::elasticsearch/node_stats.asciidoc[] include::elasticsearch/pending_tasks.asciidoc[] include::elasticsearch/shard.asciidoc[]