Kibana 统计指标集

编辑

这是 Kibana 模块的 stats 指标集。此统计端点在 6.4 版本中默认可用。

Kibana 模块的目的是拥有一个可在 Kibana 各个版本中使用的最小数据集。

模块特定配置说明

编辑

如果 Kibana 实例在其 URL 中使用 basepath,则必须为此模块设置 basepath 设置,并使用相同的值。

字段

有关指标集每个字段的说明,请参见导出字段部分。

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

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "event": {
        "dataset": "kibana.stats",
        "duration": 115000,
        "module": "kibana"
    },
    "kibana": {
        "elasticsearch": {
            "cluster": {
                "id": "WocBBA0QRma0sGpdQ7vLfQ"
            }
        },
        "stats": {
            "concurrent_connections": 4,
            "host": {
                "name": "0.0.0.0"
            },
            "index": ".kibana",
            "name": "b04775fa6831",
            "os": {
                "distro": "CentOS",
                "distroRelease": "CentOS-8.4.2105\n",
                "load": {
                    "15m": 1.12,
                    "1m": 0.97,
                    "5m": 1.01
                },
                "memory": {
                    "free_in_bytes": 323694592,
                    "total_in_bytes": 33295835136,
                    "used_in_bytes": 32972140544
                },
                "platform": "linux",
                "platformRelease": "linux-5.14.13-200.fc34.x86_64"
            },
            "process": {
                "event_loop_delay": {
                    "ms": 0.14306800067424774
                },
                "event_loop_utilization": {
                    "active": 629.1224170000005,
                    "idle": 359.23554199999995,
                    "utilization": 0.6365329598160299
                },
                "memory": {
                    "heap": {
                        "size_limit": {
                            "bytes": 4345298944
                        },
                        "total": {
                            "bytes": 264982528
                        },
                        "used": {
                            "bytes": 226086648
                        }
                    },
                    "resident_set_size": {
                        "bytes": 346976256
                    }
                },
                "uptime": {
                    "ms": 79081
                }
            },
            "request": {
                "disconnects": 0,
                "total": 7
            },
            "response_time": {
                "avg": {
                    "ms": 74
                },
                "max": {
                    "ms": 389
                }
            },
            "snapshot": false,
            "status": "green",
            "transport_address": "0.0.0.0:5601"
        }
    },
    "metricset": {
        "name": "stats",
        "period": 10000
    },
    "process": {
        "pid": 1222
    },
    "service": {
        "address": "172.19.0.3:5601",
        "id": "f87393a7-e8ae-48fd-af1e-91f229fd93fd",
        "type": "kibana",
        "version": "7.14.0"
    }
}