artem_shestakov.elasticsearch_exporter
Ansible Role - artem_shestakov.elasticsearch_exporter
This role installs the Elasticsearch exporter.
Role Variables
Variable Name | Description | Default Value |
---|---|---|
es_exporter_user | The user account used to start the exporter. | elasticsearch |
es_uri | The address (host and port) of the Elasticsearch node to connect to. This can be a local node (like localhost:9200 ) or a remote server. If basic authentication is required, use the format: <protocol>://<user>:<password>@<host>:<port> (e.g., http://admin:pass@localhost:9200 ). Special characters in the credentials must be URL-encoded. |
http://localhost:9200 |
es_all | Set to true to get statistics for all nodes in the cluster instead of just the one we connect to. | false |
es_cluster_settings | Set to true to get statistics for cluster settings. | false |
es_indices | Set to true to get statistics for all indices in the cluster. | false |
es_indices_settings | Set to true to get settings statistics for all indices in the cluster. | false |
es_indices_mappings | Set to true to get mapping statistics for all indices in the cluster. | false |
es_aliases | Set to true to include metrics about informational aliases. | true |
es_shards | Set to true to get statistics for all indices in the cluster, including shard-level stats (this automatically enables es.indices=true ). |
false |
es_snapshots | Set to true to get statistics for the cluster snapshots. | false |
es_slm | Set to true to get statistics for SLM (Snapshot Lifecycle Management). | false |
es_data_stream | Set to true to query the state of Data Streams. | false |
es_timeout | The maximum time to wait for getting statistics from Elasticsearch (e.g., 20s). | 5s |
es_ca | The path to the PEM file containing trusted Certificate Authorities for connecting to Elasticsearch. | |
es_client_private_key | The path to the PEM file containing the client's private key for authentication with Elasticsearch. | |
es_client_cert | The path to the PEM file containing the certificate that matches the private key for connecting to Elasticsearch. | |
es_clusterinfo_interval | The update interval for cluster information metrics. | 5m |
es_ssl_skip_verify | Set to true to skip SSL verification when connecting to Elasticsearch. | false |
web_listen_address | The address to listen on for the web interface and telemetry. | :9114 |
web_telemetry_path | The path to expose metrics for retrieval. | /metrics |
version | Outputs the version information and exits. | 1.3.0 |
Informazioni sul progetto
Ansible role to install elasticsearch_exporter agent.
Installa
ansible-galaxy install artem_shestakov.elasticsearch_exporter
Licenza
Unknown
Download
88
Proprietario