Elasticsearch node_stats 指标集
编辑Elasticsearch node_stats 指标集
编辑node_stats
指标集查询 Elasticsearch 的集群 API 端点,以获取集群节点统计信息。接收到的数据仅针对本地节点,因此此 Metricbeat 必须在每个 Elasticsearch 节点上运行。
索引统计信息是节点特定的。这意味着例如,所有节点报告的文档总数不是所有索引中的文档总数,因为可能还存在副本。
这是一个默认指标集。如果未配置主机模块,则默认启用此指标集。
有关指标集中每个字段的描述,请参阅导出的字段部分。
这是此指标集生成的示例文档
{ "@timestamp": "2017-10-12T08:05:34.853Z", "elasticsearch": { "cluster": { "id": "WocBBA0QRma0sGpdQ7vLfQ", "name": "docker-cluster" }, "node": { "id": "f5i3v9hMT_q__q6B9WOo5A", "master": true, "mlockall": false, "name": "27fb1c2fd783", "stats": { "fs": { "io_stats": {}, "summary": { "available": { "bytes": 126640869376 }, "free": { "bytes": 127357620224 }, "total": { "bytes": 330994548736 } }, "total": { "available_in_bytes": 126640869376, "total_in_bytes": 330994548736 } }, "indices": { "docs": { "count": 81, "deleted": 1424 }, "fielddata": { "memory": { "bytes": 0 } }, "indexing": { "index_time": { "ms": 2232 }, "index_total": { "count": 1502 }, "throttle_time": { "ms": 0 } }, "query_cache": { "memory": { "bytes": 0 } }, "request_cache": { "memory": { "bytes": 30174 } }, "search": { "query_time": { "ms": 2914 }, "query_total": { "count": 15325 } }, "shard_stats": { "total_count": 1753 }, "segments": { "count": 24, "doc_values": { "memory": { "bytes": 18672 } }, "fixed_bit_set": { "memory": { "bytes": 704 } }, "index_writer": { "memory": { "bytes": 0 } }, "memory": { "bytes": 78080 }, "norms": { "memory": { "bytes": 3392 } }, "points": { "memory": { "bytes": 0 } }, "stored_fields": { "memory": { "bytes": 11920 } }, "term_vectors": { "memory": { "bytes": 0 } }, "terms": { "memory": { "bytes": 44096 } }, "version_map": { "memory": { "bytes": 0 } } }, "store": { "size": { "bytes": 44156720 } } }, "jvm": { "gc": { "collectors": { "old": { "collection": { "count": 0, "ms": 0 } }, "young": { "collection": { "count": 200, "ms": 566 } } } }, "mem": { "heap": { "max": { "bytes": 268435456 }, "used": { "bytes": 166911488, "pct": 62 } } } }, "os": { "cpu": { "load_avg": { "1m": 2.51 } } }, "process": { "cpu": { "pct": 5 } }, "thread_pool": { "get": { "queue": { "count": 0 }, "rejected": { "count": 0 } }, "search": { "queue": { "count": 0 }, "rejected": { "count": 0 } }, "write": { "queue": { "count": 0 }, "rejected": { "count": 0 } } } } } }, "event": { "dataset": "elasticsearch.node.stats", "duration": 115000, "module": "elasticsearch" }, "metricset": { "name": "node_stats", "period": 10000 }, "service": { "address": "172.19.0.2:9200", "name": "elasticsearch", "type": "elasticsearch" } }