Elasticsearch index_recovery metricsetedit

This is the index_recovery metricset of the module Elasticsearch.

By default only data about indices which are under active recovery are fetched. To gather data about all indices set index_recovery.active_only: false:

- module: elasticsearch
  metricsets:
    - index_recovery
  hosts: ["localhost:9200"]
  index_recovery.active_only: false

Fieldsedit

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "elasticsearch": {
        "cluster": {
            "id": "8l_zoGznQRmtoX9iSC-goA",
            "name": "docker-cluster"
        },
        "index": {
            "name": ".kibana-event-log-8.0.0-000001",
            "recovery": {
                "id": 0,
                "index": {
                    "files": {
                        "percent": "0.0%",
                        "recovered": 0,
                        "reused": 0,
                        "total": 0
                    },
                    "size": {
                        "recovered_in_bytes": 0,
                        "reused_in_bytes": 0,
                        "total_in_bytes": 0
                    }
                },
                "primary": true,
                "source": {},
                "stage": "DONE",
                "start_time": {
                    "ms": 1605819056123
                },
                "stop_time": {
                    "ms": 1605819058696
                },
                "target": {
                    "host": "127.0.0.1",
                    "id": "Fkj12lAFQOex0DwK0HMwHw",
                    "name": "082618b4bb36",
                    "transport_address": "127.0.0.1:9300"
                },
                "translog": {
                    "percent": "100.0%",
                    "total": 0,
                    "total_on_start": 0
                },
                "type": "EMPTY_STORE"
            }
        }
    },
    "event": {
        "dataset": "elasticsearch.index.recovery",
        "duration": 115000,
        "module": "elasticsearch"
    },
    "metricset": {
        "name": "index_recovery",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:43035",
        "name": "elasticsearch",
        "type": "elasticsearch"
    }
}