WARNING: Version 6.2 of Metricbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
HAProxy stat metricset
editHAProxy stat metricset
editThe HAProxy stat
metricset collects stat fields from HAProxy processes.
See section "9.1. CSV format" of the official HAProxy Management Guide for a full list of stat fields.
Fields
editFor 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", "beat": { "hostname": "host.example.com", "name": "host.example.com" }, "haproxy": { "stat": { "check": { "agent.last": "", "health.last": "", "status": "" }, "component_type": 0, "compressor": { "bypassed.bytes": 0, "in.bytes": 0, "out.bytes": 0, "response.bytes": 0 }, "connection": { "total": 0 }, "in.bytes": 0, "out.bytes": 0, "process_id": 1, "proxy": { "id": 2, "name": "http-webservices" }, "queue": {}, "request": { "denied": 0, "errors": 0, "rate": { "max": 0, "value": 0 }, "total": 0 }, "response": { "denied": 0, "http": { "1xx": 0, "2xx": 0, "3xx": 0, "4xx": 0, "5xx": 0, "other": 0 } }, "server": { "id": 0 }, "service_name": "FRONTEND", "session": { "current": 0, "limit": 25000, "max": 0, "rate": { "limit": 0, "max": 0, "value": 0 } }, "status": "OPEN" } }, "metricset": { "host": "haproxy:14567", "module": "haproxy", "name": "stat", "rtt": 115 } }