WARNING: Version 5.0 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
editThis functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
haproxy Module
haproxy Fields
editHAProx metrics.
info Fields
editGeneral infomration collected on HAProxy process
haproxy.info.nb_proc
edittype: integer
Number of processes
haproxy.info.process_num
edittype: integer
Process number
haproxy.info.pid
edittype: integer
Process ID
haproxy.info.uptime_sec
edittype: integer
Current uptime in seconds
haproxy.info.mem_max_bytes
edittype: integer
format: bytes
Max number of memory usage in bytes (The Memmax_MB value converted to bytes)
haproxy.info.ulimit_n
edittype: integer
Max number of open files for process
compress Fields
editbps Fields
edithaproxy.info.compress.bps.in
edittype: integer
haproxy.info.compress.bps.out
edittype: integer
haproxy.info.compress.bps.rate_limit
edittype: integer
conn Fields
editrate Fields
edithaproxy.info.conn.rate.value
edittype: integer
haproxy.info.conn.rate.limit
edittype: integer
curr Fields
edithaproxy.info.curr.conns
edittype: integer
haproxy.info.curr.ssl_conns
edittype: integer
cum Fields
edithaproxy.info.cum.conns
edittype: integer
haproxy.info.cum.req
edittype: integer
haproxy.info.cum.ssl_conns
edittype: integer
max Fields
editMaximum values reported by HAProxy.
haproxy.info.max.hard_conn
edittype: integer
HardMaxconn
haproxy.info.max.ssl.conns
edittype: integer
MaxSslConns
haproxy.info.max.ssl.rate
edittype: integer
MaxSslRate
haproxy.info.max.sock
edittype: integer
Maxsock
haproxy.info.max.conn.value
edittype: integer
Maxconn
haproxy.info.max.conn.rate
edittype: integer
MaxConnRate
haproxy.info.max.sess_rate
edittype: integer
MaxSessRate
haproxy.info.max.pipes
edittype: integer
Maxpipes
haproxy.info.max.zlib_mem_usage
edittype: integer
MaxZlibMemUsage
pipes Fields
edithaproxy.info.pipes.used
edittype: integer
haproxy.info.pipes.free
edittype: integer
sess Fields
editrate Fields
edithaproxy.info.sess.rate.value
edittype: integer
haproxy.info.sess.rate.limit
edittype: integer
ssl Fields
editrate Fields
edithaproxy.info.ssl.rate.value
edittype: integer
haproxy.info.ssl.rate.limit
edittype: integer
frontend Fields
edithaproxy.info.ssl.frontend.key_rate
edittype: integer
haproxy.info.ssl.frontend.max_key_rate
edittype: integer
haproxy.info.ssl.frontend.session_reuse_pct
edittype: integer
backend Fields
edithaproxy.info.ssl.backend.key_rate
edittype: integer
haproxy.info.ssl.backend.max_key_rate
edittype: integer
haproxy.info.ssl.cached_lookups
edittype: integer
haproxy.info.ssl.cache_misses
edittype: integer
haproxy.info.zlib_mem_usage
edittype: integer
haproxy.info.tasks
edittype: integer
haproxy.info.run_queue
edittype: integer
haproxy.info.idle_pct
edittype: scaled_float
format: percent
stat Fields
editStats collected from HAProxy process
haproxy.stat.pxname
edittype: keyword
proxy name
haproxy.stat.svname
edittype: keyword
service name (FRONTEND for frontend, BACKEND for backend, any name for server/listener)
haproxy.stat.qcur
edittype: integer
current queued requests. For the backend this reports the number queued without a server assigned
haproxy.stat.qmax
edittype: integer
max value of qcur
haproxy.stat.scur
edittype: integer
current sessions
haproxy.stat.smax
edittype: integer
max sessions
haproxy.stat.slim
edittype: integer
configured session limit
haproxy.stat.stot
edittype: keyword
cumulative number of connections
haproxy.stat.bin
edittype: integer
bytes in
haproxy.stat.bout
edittype: integer
bytes out
haproxy.stat.dreq
edittype: integer
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.dresp
edittype: integer
responses denied because of security concerns. * For http this is because of a matched http-request rule, or "option checkcache".
haproxy.stat.ereq
edittype: integer
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.econ
edittype: integer
number of requests that encountered an error trying to connect to a backend server. The backend stat is the sum of the stat for all servers of that backend, plus any connection errors not associated with a particular server (such as the backend having no active servers).
haproxy.stat.eresp
edittype: integer
response errors. srv_abrt will be counted here also. Some other errors are: * write error on the client socket (won’t be counted for the server stat) * failure applying filters to the response.
haproxy.stat.wretr
edittype: integer
number of times a connection to a server was retried.
haproxy.stat.wredis
edittype: integer
number of times a request was redispatched to another server. The server value counts the number of times that server was switched away from.
haproxy.stat.status
edittype: keyword
status (UP/DOWN/NOLB/MAINT/MAINT(via)…)
haproxy.stat.weight
edittype: integer
total weight (backend), server weight (server)
haproxy.stat.act
edittype: integer
number of active servers (backend), server is active (server)
haproxy.stat.bck
edittype: integer
number of backup servers (backend), server is backup (server)
haproxy.stat.chkfail
edittype: integer
number of failed checks. (Only counts checks failed when the server is up.)
haproxy.stat.chkdown
edittype: integer
number of UP→DOWN transitions. The backend counter counts transitions to the whole backend being down, rather than the sum of the counters for each server.
haproxy.stat.lastchg
edittype: integer
number of seconds since the last UP<→DOWN transition
haproxy.stat.downtime
edittype: integer
total downtime (in seconds). The value for the backend is the downtime for the whole backend, not the sum of the server downtime.
haproxy.stat.qlimit
edittype: integer
configured maxqueue for the server, or nothing in the value is 0 (default, meaning no limit)
haproxy.stat.pid
edittype: integer
process id (0 for first instance, 1 for second, …)
haproxy.stat.iid
edittype: integer
unique proxy id
haproxy.stat.sid
edittype: integer
server id (unique inside a proxy)
haproxy.stat.throttle
edittype: integer
current throttle percentage for the server, when slowstart is active, or no value if not in slowstart.
haproxy.stat.lbtot
edittype: integer
total number of times a server was selected, either for new sessions, or when re-dispatching. The server counter is the number of times that server was selected.
haproxy.stat.tracked
edittype: integer
id of proxy/server if tracking is enabled.
haproxy.stat.component_type
edittype: integer
(0=frontend, 1=backend, 2=server, 3=socket/listener)
rate Fields
edithaproxy.stat.rate.value
edittype: integer
number of sessions per second over last elapsed second
haproxy.stat.rate.lim
edittype: integer
configured limit on new sessions per second
haproxy.stat.rate.max
edittype: integer
max number of new sessions per second
check Fields
edithaproxy.stat.check.status
edittype: keyword
status of 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: integer
layer5-7 code, if available
haproxy.stat.check.duration
edittype: integer
time in ms took to finish last health check
hrsp Fields
edithaproxy.stat.hrsp.1xx
edittype: integer
http responses with 1xx code
haproxy.stat.hrsp.2xx
edittype: integer
http responses with 2xx code
haproxy.stat.hrsp.3xx
edittype: integer
http responses with 3xx code
haproxy.stat.hrsp.4xx
edittype: integer
http responses with 4xx code
haproxy.stat.hrsp.5xx
edittype: integer
http responses with 5xx code
haproxy.stat.hrsp.other
edittype: integer
http responses with other codes (protocol error)
haproxy.stat.hanafail
edittype: integer
failed health checks details
req Fields
editrate Fields
edithaproxy.stat.req.rate.value
edittype: integer
HTTP requests per second over last elapsed second
haproxy.stat.req.rate.max
edittype: integer
max number of HTTP requests per second observed
haproxy.stat.req.tot
edittype: integer
total number of HTTP requests received
haproxy.stat.cli_abrt
edittype: integer
number of data transfers aborted by the client
haproxy.stat.srv_abrt
edittype: integer
number of data transfers aborted by the server (inc. in eresp)
comp Fields
edithaproxy.stat.comp.in
edittype: integer
number of HTTP response bytes fed to the compressor
haproxy.stat.comp.out
edittype: integer
number of HTTP response bytes emitted by the compressor
haproxy.stat.comp.byp
edittype: integer
number of bytes that bypassed the HTTP compressor (CPU/BW limit)
haproxy.stat.comp.rsp
edittype: integer
number of HTTP responses that were compressed
last Fields
edithaproxy.stat.last.sess
edittype: integer
number of seconds since last session assigned to server/backend
haproxy.stat.last.chk
edittype: keyword
last health check contents or textual error
haproxy.stat.last.agt
edittype: keyword
last agent check contents or textual error
haproxy.stat.qtime
edittype: integer
the average queue time in ms over the 1024 last requests
haproxy.stat.ctime
edittype: integer
the average connect time in ms over the 1024 last requests
haproxy.stat.rtime
edittype: integer
the average response time in ms over the 1024 last requests (0 for TCP)
haproxy.stat.ttime
edittype: integer
the average total session time in ms over the 1024 last requests