- Metricbeat Reference: other versions:
- Overview
- Contributing to Beats
- Getting started with Metricbeat
- Setting up and running Metricbeat
- Upgrading Metricbeat
- How Metricbeat works
- Configuring Metricbeat
- Specify which modules to run
- Specify general settings
- Load external configuration files
- Configure the internal queue
- Configure the output
- Specify SSL settings
- Filter and enhance the exported data
- Parse logs by using ingest node
- Set up project paths
- Set up the Kibana endpoint
- Load the Kibana dashboards
- Load the Elasticsearch index template
- Set up logging
- Use environment variables in the configuration
- Autodiscover
- YAML tips and gotchas
- Regular expression support
- metricbeat.reference.yml
- Modules
- Aerospike module
- Apache module
- Ceph module
- Couchbase module
- Docker module
- Dropwizard module
- Elasticsearch module
- Etcd module
- Golang module
- Graphite module
- HAProxy module
- HTTP module
- Jolokia module
- Kafka module
- Kibana module
- Kubernetes module
- Kubernetes container metricset
- Kubernetes event metricset
- Kubernetes node metricset
- Kubernetes pod metricset
- Kubernetes state_container metricset
- Kubernetes state_deployment metricset
- Kubernetes state_node metricset
- Kubernetes state_pod metricset
- Kubernetes state_replicaset metricset
- Kubernetes system metricset
- Kubernetes volume metricset
- Logstash module
- Memcached module
- MongoDB module
- MySQL module
- Nginx module
- PHP_FPM module
- PostgreSQL module
- Prometheus module
- RabbitMQ module
- Redis module
- System module
- vSphere module
- Windows module
- ZooKeeper module
- Exported fields
- Aerospike fields
- Apache fields
- Beat fields
- Ceph fields
- Cloud provider metadata fields
- Common fields
- Couchbase fields
- Docker fields
- Docker fields
- Dropwizard fields
- Elasticsearch fields
- Etcd fields
- Golang fields
- Graphite fields
- HAProxy fields
- HTTP fields
- Jolokia fields
- Kafka fields
- Kibana fields
- Kubernetes fields
- Kubernetes fields
- Logstash fields
- Memcached fields
- MongoDB fields
- MySQL fields
- Nginx fields
- PHP_FPM fields
- PostgreSQL fields
- Prometheus fields
- RabbitMQ fields
- Redis fields
- System fields
- vSphere fields
- Windows fields
- ZooKeeper fields
- Securing Metricbeat
- Troubleshooting
WARNING: Version 6.1 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 fields
editHAProxy fields
editHAProxy Module
haproxy fields
editHAProxy metrics.
info fields
editGeneral information about HAProxy processes.
haproxy.info.processes
edittype: long
Number of processes.
haproxy.info.process_num
edittype: long
Process number.
haproxy.info.pid
edittype: long
Process ID.
haproxy.info.run_queue
edittype: long
haproxy.info.tasks
edittype: long
haproxy.info.uptime.sec
edittype: long
Current uptime in seconds.
haproxy.info.memory.max.bytes
edittype: long
format: bytes
Maximum amount of memory usage in bytes (the Memmax_MB value converted to bytes).
haproxy.info.ulimit_n
edittype: long
Maximum number of open files for the process.
compress fields
editbps fields
edithaproxy.info.compress.bps.in
edittype: long
haproxy.info.compress.bps.out
edittype: long
haproxy.info.compress.bps.rate_limit
edittype: long
connection fields
editrate fields
edithaproxy.info.connection.rate.value
edittype: long
haproxy.info.connection.rate.limit
edittype: long
haproxy.info.connection.rate.max
edittype: long
haproxy.info.connection.current
edittype: long
Current connections.
haproxy.info.connection.total
edittype: long
Total connections.
haproxy.info.connection.ssl.current
edittype: long
Current SSL connections.
haproxy.info.connection.ssl.total
edittype: long
Total SSL connections.
haproxy.info.connection.ssl.max
edittype: long
Maximum SSL connections.
haproxy.info.connection.max
edittype: long
Maximum connections.
haproxy.info.connection.hard_max
edittype: long
haproxy.info.requests.total
edittype: long
haproxy.info.sockets.max
edittype: long
haproxy.info.requests.max
edittype: long
pipes fields
edithaproxy.info.pipes.used
edittype: integer
haproxy.info.pipes.free
edittype: integer
haproxy.info.pipes.max
edittype: integer
session fields
editNone
haproxy.info.session.rate.value
edittype: integer
haproxy.info.session.rate.limit
edittype: integer
haproxy.info.session.rate.max
edittype: integer
ssl fields
editNone
haproxy.info.ssl.rate.value
edittype: integer
None
haproxy.info.ssl.rate.limit
edittype: integer
None
haproxy.info.ssl.rate.max
edittype: integer
None
frontend fields
editNone
haproxy.info.ssl.frontend.key_rate.value
edittype: integer
None
haproxy.info.ssl.frontend.key_rate.max
edittype: integer
None
haproxy.info.ssl.frontend.session_reuse.pct
edittype: scaled_float
format: percent
None
backend fields
editNone
haproxy.info.ssl.backend.key_rate.value
edittype: integer
None
haproxy.info.ssl.backend.key_rate.max
edittype: integer
MaxConnRate
haproxy.info.ssl.cached_lookups
edittype: long
None
haproxy.info.ssl.cache_misses
edittype: long
None
zlib_mem_usage fields
edithaproxy.info.zlib_mem_usage.value
edittype: integer
haproxy.info.zlib_mem_usage.max
edittype: integer
haproxy.info.idle.pct
edittype: scaled_float
format: percent
stat fields
editStats collected from HAProxy processes.
haproxy.stat.status
edittype: keyword
Status (UP, DOWN, NOLB, MAINT, or MAINT(via)…).
haproxy.stat.weight
edittype: long
Total weight (for backends), or server weight (for servers).
haproxy.stat.downtime
edittype: long
Total downtime (in seconds). For backends, this value is the downtime for the whole backend, not the sum of the downtime for the servers.
haproxy.stat.component_type
edittype: integer
Component type (0=frontend, 1=backend, 2=server, or 3=socket/listener).
haproxy.stat.process_id
edittype: integer
Process ID (0 for first instance, 1 for second, and so on).
haproxy.stat.service_name
edittype: keyword
Service name (FRONTEND for frontend, BACKEND for backend, or any name for server/listener).
haproxy.stat.in.bytes
edittype: long
format: bytes
Bytes in.
haproxy.stat.out.bytes
edittype: long
format: bytes
Bytes out.
haproxy.stat.last_change
edittype: integer
Number of seconds since the last UP→DOWN or DOWN→UP transition.
haproxy.stat.throttle.pct
edittype: scaled_float
format: percentage
Current throttle percentage for the server when slowstart is active, or no value if slowstart is inactive.
haproxy.stat.selected.total
edittype: long
Total number of times a server was selected, either for new sessions, or when re-dispatching. For servers, this field reports the the number of times the server was selected.
haproxy.stat.tracked.id
edittype: long
ID of the proxy/server if tracking is enabled.
haproxy.stat.connection.total
edittype: long
Cumulative number of connections.
haproxy.stat.connection.retried
edittype: long
Number of times a connection to a server was retried.
haproxy.stat.connection.time.avg
edittype: long
Average connect time in ms over the last 1024 requests.
haproxy.stat.request.denied
edittype: long
Requests denied because of security concerns.
- For TCP this is because of a matched tcp-request content rule.
- For HTTP this is because of a matched http-request or tarpit rule.
haproxy.stat.request.queued.current
edittype: long
Current queued requests. For backends, this field reports the number of requests queued without a server assigned.
haproxy.stat.request.queued.max
edittype: long
Maximum value of queued.current.
haproxy.stat.request.errors
edittype: long
Request errors. Some of the possible causes are:
- early termination from the client, before the request has been sent
- read error from the client
- client timeout
- client closed connection
- various bad requests from the client.
- request was tarpitted.
haproxy.stat.request.redispatched
edittype: long
Number of times a request was redispatched to another server. For servers, this field reports the number of times the server was switched away from.
haproxy.stat.request.connection.errors
edittype: long
Number of requests that encountered an error trying to connect to a server. For backends, this field reports the sum of the stat for all backend servers, plus any connection errors not associated with a particular server (such as the backend having no active servers).
rate fields
edithaproxy.stat.request.rate.value
edittype: long
Number of HTTP requests per second over the last elapsed second.
haproxy.stat.request.rate.max
edittype: long
Maximum number of HTTP requests per second.
haproxy.stat.request.total
edittype: long
Total number of HTTP requests received.
haproxy.stat.response.errors
edittype: long
Number of response errors. This value includes the number of data transfers aborted by the server (haproxy.stat.server.aborted). Some other errors are: * write errors on the client socket (won’t be counted for the server stat) * failure applying filters to the response
haproxy.stat.response.time.avg
edittype: long
Average response time in ms over the last 1024 requests (0 for TCP).
haproxy.stat.response.denied
edittype: integer
Responses denied because of security concerns. For HTTP this is because of a matched http-request rule, or "option checkcache".
http fields
edithaproxy.stat.response.http.1xx
edittype: long
HTTP responses with 1xx code.
haproxy.stat.response.http.2xx
edittype: long
HTTP responses with 2xx code.
haproxy.stat.response.http.3xx
edittype: long
HTTP responses with 3xx code.
haproxy.stat.response.http.4xx
edittype: long
HTTP responses with 4xx code.
haproxy.stat.response.http.5xx
edittype: long
HTTP responses with 5xx code.
haproxy.stat.response.http.other
edittype: long
HTTP responses with other codes (protocol error).
haproxy.stat.session.current
edittype: long
Number of current sessions.
haproxy.stat.session.max
edittype: long
Maximum number of sessions.
haproxy.stat.session.limit
edittype: long
Configured session limit.
haproxy.stat.session.rate.value
edittype: integer
Number of sessions per second over the last elapsed second.
haproxy.stat.session.rate.limit
edittype: integer
Configured limit on new sessions per second.
haproxy.stat.session.rate.max
edittype: integer
Maximum number of new sessions per second.
check fields
edithaproxy.stat.check.status
edittype: keyword
Status of the last health check. One of:
UNK -> unknown INI -> initializing SOCKERR -> socket error L4OK -> check passed on layer 4, no upper layers testing enabled L4TOUT -> layer 1-4 timeout L4CON -> layer 1-4 connection problem, for example "Connection refused" (tcp rst) or "No route to host" (icmp) L6OK -> check passed on layer 6 L6TOUT -> layer 6 (SSL) timeout L6RSP -> layer 6 invalid response - protocol error L7OK -> check passed on layer 7 L7OKC -> check conditionally passed on layer 7, for example 404 with disable-on-404 L7TOUT -> layer 7 (HTTP/SMTP) timeout L7RSP -> layer 7 invalid response - protocol error L7STS -> layer 7 response error, for example HTTP 5xx
haproxy.stat.check.code
edittype: long
Layer 5-7 code, if available.
haproxy.stat.check.duration
edittype: long
Time in ms that it took to finish the last health check.
haproxy.stat.check.health.last
edittype: keyword
The result of the last health check.
haproxy.stat.check.health.fail
edittype: long
Number of failed checks.
haproxy.stat.check.agent.last
edittype: integer
haproxy.stat.check.failed
edittype: long
Number of checks that failed while the server was up.
haproxy.stat.check.down
edittype: long
Number of UP→DOWN transitions. For backends, this value is the number of transitions to the whole backend being down, rather than the sum of the transitions for each server.
haproxy.stat.client.aborted
edittype: integer
Number of data transfers aborted by the client.
server fields
edithaproxy.stat.server.id
edittype: integer
Server ID (unique inside a proxy).
haproxy.stat.server.aborted
edittype: integer
Number of data transfers aborted by the server. This value is included in haproxy.stat.response.errors.
haproxy.stat.server.active
edittype: integer
Number of backend servers that are active, meaning that they are healthy and can receive requests from the load balancer.
haproxy.stat.server.backup
edittype: integer
Number of backend servers that are backup servers.
compressor fields
edithaproxy.stat.compressor.in.bytes
edittype: long
format: bytes
Number of HTTP response bytes fed to the compressor.
haproxy.stat.compressor.out.bytes
edittype: integer
format: bytes
Number of HTTP response bytes emitted by the compressor.
haproxy.stat.compressor.bypassed.bytes
edittype: long
format: bytes
Number of bytes that bypassed the HTTP compressor (CPU/BW limit).
haproxy.stat.compressor.response.bytes
edittype: long
format: bytes
Number of HTTP responses that were compressed.
proxy fields
edithaproxy.stat.proxy.id
edittype: integer
Unique proxy ID.
haproxy.stat.proxy.name
edittype: keyword
Proxy name.
queue fields
edithaproxy.stat.queue.limit
edittype: integer
Configured queue limit (maxqueue) for the server, or nothing if the value of maxqueue is 0 (meaning no limit).
haproxy.stat.queue.time.avg
edittype: integer
The average queue time in ms over the last 1024 requests.
On this page
- haproxy fields
- info fields
haproxy.info.processes
haproxy.info.process_num
haproxy.info.pid
haproxy.info.run_queue
haproxy.info.tasks
haproxy.info.uptime.sec
haproxy.info.memory.max.bytes
haproxy.info.ulimit_n
- compress fields
- bps fields
haproxy.info.compress.bps.in
haproxy.info.compress.bps.out
haproxy.info.compress.bps.rate_limit
- connection fields
- rate fields
haproxy.info.connection.rate.value
haproxy.info.connection.rate.limit
haproxy.info.connection.rate.max
haproxy.info.connection.current
haproxy.info.connection.total
haproxy.info.connection.ssl.current
haproxy.info.connection.ssl.total
haproxy.info.connection.ssl.max
haproxy.info.connection.max
haproxy.info.connection.hard_max
haproxy.info.requests.total
haproxy.info.sockets.max
haproxy.info.requests.max
- pipes fields
haproxy.info.pipes.used
haproxy.info.pipes.free
haproxy.info.pipes.max
- session fields
haproxy.info.session.rate.value
haproxy.info.session.rate.limit
haproxy.info.session.rate.max
- ssl fields
haproxy.info.ssl.rate.value
haproxy.info.ssl.rate.limit
haproxy.info.ssl.rate.max
- frontend fields
haproxy.info.ssl.frontend.key_rate.value
haproxy.info.ssl.frontend.key_rate.max
haproxy.info.ssl.frontend.session_reuse.pct
- backend fields
haproxy.info.ssl.backend.key_rate.value
haproxy.info.ssl.backend.key_rate.max
haproxy.info.ssl.cached_lookups
haproxy.info.ssl.cache_misses
- zlib_mem_usage fields
haproxy.info.zlib_mem_usage.value
haproxy.info.zlib_mem_usage.max
haproxy.info.idle.pct
- stat fields
haproxy.stat.status
haproxy.stat.weight
haproxy.stat.downtime
haproxy.stat.component_type
haproxy.stat.process_id
haproxy.stat.service_name
haproxy.stat.in.bytes
haproxy.stat.out.bytes
haproxy.stat.last_change
haproxy.stat.throttle.pct
haproxy.stat.selected.total
haproxy.stat.tracked.id
haproxy.stat.connection.total
haproxy.stat.connection.retried
haproxy.stat.connection.time.avg
haproxy.stat.request.denied
haproxy.stat.request.queued.current
haproxy.stat.request.queued.max
haproxy.stat.request.errors
haproxy.stat.request.redispatched
haproxy.stat.request.connection.errors
- rate fields
haproxy.stat.request.rate.value
haproxy.stat.request.rate.max
haproxy.stat.request.total
haproxy.stat.response.errors
haproxy.stat.response.time.avg
haproxy.stat.response.denied
- http fields
haproxy.stat.response.http.1xx
haproxy.stat.response.http.2xx
haproxy.stat.response.http.3xx
haproxy.stat.response.http.4xx
haproxy.stat.response.http.5xx
haproxy.stat.response.http.other
haproxy.stat.session.current
haproxy.stat.session.max
haproxy.stat.session.limit
haproxy.stat.session.rate.value
haproxy.stat.session.rate.limit
haproxy.stat.session.rate.max
- check fields
haproxy.stat.check.status
haproxy.stat.check.code
haproxy.stat.check.duration
haproxy.stat.check.health.last
haproxy.stat.check.health.fail
haproxy.stat.check.agent.last
haproxy.stat.check.failed
haproxy.stat.check.down
haproxy.stat.client.aborted
- server fields
haproxy.stat.server.id
haproxy.stat.server.aborted
haproxy.stat.server.active
haproxy.stat.server.backup
- compressor fields
haproxy.stat.compressor.in.bytes
haproxy.stat.compressor.out.bytes
haproxy.stat.compressor.bypassed.bytes
haproxy.stat.compressor.response.bytes
- proxy fields
haproxy.stat.proxy.id
haproxy.stat.proxy.name
- queue fields
haproxy.stat.queue.limit
haproxy.stat.queue.time.avg