haproxy Fieldsedit

This 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 Fieldsedit

HAProx metrics.

info Fieldsedit

General infomration collected on HAProxy process

haproxy.info.nb_procedit

type: integer

Number of processes

haproxy.info.process_numedit

type: integer

Process number

haproxy.info.pidedit

type: integer

Process ID

haproxy.info.uptime_secedit

type: integer

Current uptime in seconds

haproxy.info.mem_max_bytesedit

type: integer

format: bytes

Max number of memory usage in bytes (The Memmax_MB value converted to bytes)

haproxy.info.ulimit_nedit

type: integer

Max number of open files for process

compress Fieldsedit

bps Fieldsedit

haproxy.info.compress.bps.inedit

type: integer

haproxy.info.compress.bps.outedit

type: integer

haproxy.info.compress.bps.rate_limitedit

type: integer

conn Fieldsedit

rate Fieldsedit

haproxy.info.conn.rate.valueedit

type: integer

haproxy.info.conn.rate.limitedit

type: integer

curr Fieldsedit

haproxy.info.curr.connsedit

type: integer

haproxy.info.curr.ssl_connsedit

type: integer

cum Fieldsedit

haproxy.info.cum.connsedit

type: integer

haproxy.info.cum.reqedit

type: integer

haproxy.info.cum.ssl_connsedit

type: integer

max Fieldsedit

Maximum values reported by HAProxy.

haproxy.info.max.hard_connedit

type: integer

HardMaxconn

haproxy.info.max.ssl.connsedit

type: integer

MaxSslConns

haproxy.info.max.ssl.rateedit

type: integer

MaxSslRate

haproxy.info.max.sockedit

type: integer

Maxsock

haproxy.info.max.conn.valueedit

type: integer

Maxconn

haproxy.info.max.conn.rateedit

type: integer

MaxConnRate

haproxy.info.max.sess_rateedit

type: integer

MaxSessRate

haproxy.info.max.pipesedit

type: integer

Maxpipes

haproxy.info.max.zlib_mem_usageedit

type: integer

MaxZlibMemUsage

pipes Fieldsedit

haproxy.info.pipes.usededit

type: integer

haproxy.info.pipes.freeedit

type: integer

sess Fieldsedit

rate Fieldsedit

haproxy.info.sess.rate.valueedit

type: integer

haproxy.info.sess.rate.limitedit

type: integer

ssl Fieldsedit

rate Fieldsedit

haproxy.info.ssl.rate.valueedit

type: integer

haproxy.info.ssl.rate.limitedit

type: integer

frontend Fieldsedit

haproxy.info.ssl.frontend.key_rateedit

type: integer

haproxy.info.ssl.frontend.max_key_rateedit

type: integer

haproxy.info.ssl.frontend.session_reuse_pctedit

type: integer

backend Fieldsedit

haproxy.info.ssl.backend.key_rateedit

type: integer

haproxy.info.ssl.backend.max_key_rateedit

type: integer

haproxy.info.ssl.cached_lookupsedit

type: integer

haproxy.info.ssl.cache_missesedit

type: integer

haproxy.info.zlib_mem_usageedit

type: integer

haproxy.info.tasksedit

type: integer

haproxy.info.run_queueedit

type: integer

haproxy.info.idle_pctedit

type: scaled_float

format: percent

stat Fieldsedit

Stats collected from HAProxy process

haproxy.stat.pxnameedit

type: keyword

proxy name

haproxy.stat.svnameedit

type: keyword

service name (FRONTEND for frontend, BACKEND for backend, any name for server/listener)

haproxy.stat.qcuredit

type: integer

current queued requests. For the backend this reports the number queued without a server assigned

haproxy.stat.qmaxedit

type: integer

max value of qcur

haproxy.stat.scuredit

type: integer

current sessions

haproxy.stat.smaxedit

type: integer

max sessions

haproxy.stat.slimedit

type: integer

configured session limit

haproxy.stat.stotedit

type: keyword

cumulative number of connections

haproxy.stat.binedit

type: integer

bytes in

haproxy.stat.boutedit

type: integer

bytes out

haproxy.stat.dreqedit

type: 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.drespedit

type: integer

responses denied because of security concerns. * For http this is because of a matched http-request rule, or "option checkcache".

haproxy.stat.ereqedit

type: 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.econedit

type: 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.erespedit

type: 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.wretredit

type: integer

number of times a connection to a server was retried.

haproxy.stat.wredisedit

type: 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.statusedit

type: keyword

status (UP/DOWN/NOLB/MAINT/MAINT(via)…​)

haproxy.stat.weightedit

type: integer

total weight (backend), server weight (server)

haproxy.stat.actedit

type: integer

number of active servers (backend), server is active (server)

haproxy.stat.bckedit

type: integer

number of backup servers (backend), server is backup (server)

haproxy.stat.chkfailedit

type: integer

number of failed checks. (Only counts checks failed when the server is up.)

haproxy.stat.chkdownedit

type: 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.lastchgedit

type: integer

number of seconds since the last UP<→DOWN transition

haproxy.stat.downtimeedit

type: 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.qlimitedit

type: integer

configured maxqueue for the server, or nothing in the value is 0 (default, meaning no limit)

haproxy.stat.pidedit

type: integer

process id (0 for first instance, 1 for second, …​)

haproxy.stat.iidedit

type: integer

unique proxy id

haproxy.stat.sidedit

type: integer

server id (unique inside a proxy)

haproxy.stat.throttleedit

type: integer

current throttle percentage for the server, when slowstart is active, or no value if not in slowstart.

haproxy.stat.lbtotedit

type: 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.trackededit

type: integer

id of proxy/server if tracking is enabled.

haproxy.stat.component_typeedit

type: integer

(0=frontend, 1=backend, 2=server, 3=socket/listener)

rate Fieldsedit

haproxy.stat.rate.valueedit

type: integer

number of sessions per second over last elapsed second

haproxy.stat.rate.limedit

type: integer

configured limit on new sessions per second

haproxy.stat.rate.maxedit

type: integer

max number of new sessions per second

check Fieldsedit

haproxy.stat.check.statusedit

type: 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.codeedit

type: integer

layer5-7 code, if available

haproxy.stat.check.durationedit

type: integer

time in ms took to finish last health check

hrsp Fieldsedit

haproxy.stat.hrsp.1xxedit

type: integer

http responses with 1xx code

haproxy.stat.hrsp.2xxedit

type: integer

http responses with 2xx code

haproxy.stat.hrsp.3xxedit

type: integer

http responses with 3xx code

haproxy.stat.hrsp.4xxedit

type: integer

http responses with 4xx code

haproxy.stat.hrsp.5xxedit

type: integer

http responses with 5xx code

haproxy.stat.hrsp.otheredit

type: integer

http responses with other codes (protocol error)

haproxy.stat.hanafailedit

type: integer

failed health checks details

req Fieldsedit

rate Fieldsedit

haproxy.stat.req.rate.valueedit

type: integer

HTTP requests per second over last elapsed second

haproxy.stat.req.rate.maxedit

type: integer

max number of HTTP requests per second observed

haproxy.stat.req.totedit

type: integer

total number of HTTP requests received

haproxy.stat.cli_abrtedit

type: integer

number of data transfers aborted by the client

haproxy.stat.srv_abrtedit

type: integer

number of data transfers aborted by the server (inc. in eresp)

comp Fieldsedit

haproxy.stat.comp.inedit

type: integer

number of HTTP response bytes fed to the compressor

haproxy.stat.comp.outedit

type: integer

number of HTTP response bytes emitted by the compressor

haproxy.stat.comp.bypedit

type: integer

number of bytes that bypassed the HTTP compressor (CPU/BW limit)

haproxy.stat.comp.rspedit

type: integer

number of HTTP responses that were compressed

last Fieldsedit

haproxy.stat.last.sessedit

type: integer

number of seconds since last session assigned to server/backend

haproxy.stat.last.chkedit

type: keyword

last health check contents or textual error

haproxy.stat.last.agtedit

type: keyword

last agent check contents or textual error

haproxy.stat.qtimeedit

type: integer

the average queue time in ms over the 1024 last requests

haproxy.stat.ctimeedit

type: integer

the average connect time in ms over the 1024 last requests

haproxy.stat.rtimeedit

type: integer

the average response time in ms over the 1024 last requests (0 for TCP)

haproxy.stat.ttimeedit

type: integer

the average total session time in ms over the 1024 last requests