Logstash 节点 metricset
编辑Logstash 节点 metricset
编辑这是 Logstash 模块的节点 metricset。
这是一个默认的 metricset。如果主机模块未配置,则默认启用此 metricset。
有关 metricset 中每个字段的描述,请参阅导出字段部分。
这是一个此 metricset 生成的示例文档
{ "@timestamp": "2017-10-12T08:05:34.853Z", "event": { "dataset": "logstash.node", "duration": 115000, "module": "logstash" }, "logstash": { "cluster": { "id": "VUwnkX_lTzCFP9VUoXT1IQ" }, "elasticsearch": { "cluster": { "id": "VUwnkX_lTzCFP9VUoXT1IQ" } }, "node": { "host": "7dc1b688baf4", "id": "9a1f83e1-52b9-4625-a98a-6aa336f41719", "jvm": { "version": "11.0.10" }, "state": { "pipeline": { "id": "main", "hash": "5022893e09c573cc517eef12da3df428d41a45370e168b19031f5b6b0da3db22", "ephemeral_id": "0a6062d1-85e8-4e9b-b943-d80573912692", "representation": { "graph": { "vertices": [ { "config_name": "beats", "explicit_id": false, "id": "293e8492626c637c237bf394279270356589b77d285ea009a555e19977779693", "meta": { "source": { "column": 3, "id": "/usr/share/logstash/pipeline/logstash.conf", "line": 2, "protocol": "file" } }, "plugin_type": "input", "type": "plugin" }, { "explicit_id": false, "id": "__QUEUE__", "meta": null, "type": "queue" }, { "config_name": "elasticsearch", "explicit_id": false, "id": "942f820402532e034dc5b27a680547732f49dc4b5e48df0475d280eb31382e0d", "meta": { "source": { "column": 3, "id": "/usr/share/logstash/pipeline/logstash.conf", "line": 8, "protocol": "file" } }, "plugin_type": "output", "type": "plugin" } ], "edges": [ { "from": "293e8492626c637c237bf394279270356589b77d285ea009a555e19977779693", "id": "af355ece7f2645e789bd864dd4745756782431bb85e6ea2e5b3ad6d546bca889", "to": "__QUEUE__", "type": "plain" }, { "from": "__QUEUE__", "id": "7eb9677f7cb798312f3dc1ac5ab2469a9f2166f6144da511fe339a31f9fd9b38", "to": "942f820402532e034dc5b27a680547732f49dc4b5e48df0475d280eb31382e0d", "type": "plain" } ] }, "type": "lir", "version": "0.0.0", "hash": "5022893e09c573cc517eef12da3df428d41a45370e168b19031f5b6b0da3db22" }, "batch_size": 125, "workers": 12 } }, "version": "7.12.0" } }, "metricset": { "name": "node", "period": 10000 }, "process": { "pid": 1 }, "service": { "address": "172.20.0.3:9600", "hostname": "7dc1b688baf4", "id": "9a1f83e1-52b9-4625-a98a-6aa336f41719", "name": "logstash", "type": "logstash", "version": "7.12.0" } }