Elasticsearch 节点指标集编辑

node 指标集查询 Elasticsearch 的 集群 API 端点 以获取集群节点信息。此指标集仅从 _local 节点获取数据,因此必须在每个 Elasticsearch 节点上运行。

这是一个默认指标集。如果主机模块未配置,则默认情况下启用此指标集。

字段

有关指标集中每个字段的描述,请参见 导出字段 部分。

以下是此指标集生成的示例文档

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "elasticsearch": {
        "cluster": {
            "id": "WocBBA0QRma0sGpdQ7vLfQ",
            "name": "docker-cluster"
        },
        "node": {
            "id": "f5i3v9hMT_q__q6B9WOo5A",
            "jvm": {
                "memory": {
                    "heap": {
                        "init": {
                            "bytes": 268435456
                        },
                        "max": {
                            "bytes": 268435456
                        }
                    },
                    "nonheap": {
                        "init": {
                            "bytes": 7667712
                        },
                        "max": {
                            "bytes": 0
                        }
                    }
                },
                "version": "16.0.1"
            },
            "name": "27fb1c2fd783",
            "process": {
                "mlockall": false
            },
            "version": "7.14.0"
        }
    },
    "event": {
        "dataset": "elasticsearch.node",
        "duration": 115000,
        "module": "elasticsearch"
    },
    "metricset": {
        "name": "node",
        "period": 10000
    },
    "service": {
        "address": "172.19.0.2:9200",
        "name": "elasticsearch",
        "type": "elasticsearch"
    }
}