haproxy Fieldsedit

Warning

This functionality is experimental and may be changed or removed completely in a future release.

haproxy Module

haproxy Fieldsedit

HAProx metrics.

info Fieldsedit

General infomration collected on HAProxy process

haproxy.info.processesedit

type: long

Number of processes

haproxy.info.process_numedit

type: long

Process number

haproxy.info.pidedit

type: long

Process ID

haproxy.info.run_queueedit

type: long

haproxy.info.tasksedit

type: long

haproxy.info.uptime.secedit

type: long

Current uptime in seconds

haproxy.info.memory.max.bytesedit

type: long

format: bytes

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

haproxy.info.ulimit_nedit

type: long

Max number of open files for process

compress Fieldsedit

bps Fieldsedit

haproxy.info.compress.bps.inedit

type: long

haproxy.info.compress.bps.outedit

type: long

haproxy.info.compress.bps.rate_limitedit

type: long

connection Fieldsedit

rate Fieldsedit

haproxy.info.connection.rate.valueedit

type: long

haproxy.info.connection.rate.limitedit

type: long

haproxy.info.connection.rate.maxedit

type: long

haproxy.info.connection.currentedit

type: long

Current Connections

haproxy.info.connection.totaledit

type: long

Total Connections

haproxy.info.connection.ssl.currentedit

type: long

Current ssl Connections

haproxy.info.connection.ssl.totaledit

type: long

Current Connections

haproxy.info.connection.ssl.maxedit

type: long

Current Connections

haproxy.info.connection.maxedit

type: long

Max connections

haproxy.info.connection.hard_maxedit

type: long

haproxy.info.requests.totaledit

type: long

haproxy.info.sockets.maxedit

type: long

haproxy.info.requests.maxedit

type: long

pipes Fieldsedit

haproxy.info.pipes.usededit

type: integer

haproxy.info.pipes.freeedit

type: integer

haproxy.info.pipes.maxedit

type: integer

session Fieldsedit

None

haproxy.info.session.rate.valueedit

type: integer

haproxy.info.session.rate.limitedit

type: integer

haproxy.info.session.rate.maxedit

type: integer

ssl Fieldsedit

None

haproxy.info.ssl.rate.valueedit

type: integer

None

haproxy.info.ssl.rate.limitedit

type: integer

None

haproxy.info.ssl.rate.maxedit

type: integer

None

frontend Fieldsedit

None

haproxy.info.ssl.frontend.key_rate.valueedit

type: integer

None

haproxy.info.ssl.frontend.key_rate.maxedit

type: integer

None

haproxy.info.ssl.frontend.session_reuse.pctedit

type: scaled_float

format: percent

None

backend Fieldsedit

None

haproxy.info.ssl.backend.key_rate.valueedit

type: integer

None

haproxy.info.ssl.backend.key_rate.maxedit

type: integer

MaxConnRate

haproxy.info.ssl.cached_lookupsedit

type: long

None

haproxy.info.ssl.cache_missesedit

type: long

None

zlib_mem_usage Fieldsedit

haproxy.info.zlib_mem_usage.valueedit

type: integer

haproxy.info.zlib_mem_usage.maxedit

type: integer

haproxy.info.idle.pctedit

type: scaled_float

format: percent

stat Fieldsedit

Stats collected from HAProxy process

haproxy.stat.statusedit

type: keyword

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

haproxy.stat.weightedit

type: long

total weight (backend), server weight (server)

haproxy.stat.downtimeedit

type: long

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.component_typeedit

type: integer

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

haproxy.stat.process_idedit

type: integer

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

haproxy.stat.service_nameedit

type: keyword

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

haproxy.stat.in.bytesedit

type: long

format: bytes

bytes in

haproxy.stat.out.bytesedit

type: long

format: bytes

bytes out

haproxy.stat.last_changeedit

type: integer

number of seconds since the last UP<→DOWN transition

haproxy.stat.throttle.pctedit

type: scaled_float

format: percentage

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

haproxy.stat.selected.totaledit

type: long

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.idedit

type: long

id of proxy/server if tracking is enabled.

haproxy.stat.connection.totaledit

type: long

cumulative number of connections

haproxy.stat.connection.retriededit

type: long

number of times a connection to a server was retried.

haproxy.stat.connection.time.avgedit

type: long

the average connect time in ms over the 1024 last requests

haproxy.stat.request.deniededit

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

type: long

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

haproxy.stat.request.queued.maxedit

type: long

max value of queued.current

haproxy.stat.request.errorsedit

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

type: long

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.request.connection.errorsedit

type: long

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).

rate Fieldsedit

haproxy.stat.request.rate.valueedit

type: long

HTTP requests per second over last elapsed second

haproxy.stat.request.rate.maxedit

type: long

max number of HTTP requests per second observed

haproxy.stat.request.totaledit

type: long

total number of HTTP requests received

haproxy.stat.response.errorsedit

type: long

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 respons

haproxy.stat.response.time.avgedit

type: long

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

haproxy.stat.response.deniededit

type: integer

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

http Fieldsedit

haproxy.stat.response.http.1xxedit

type: long

http responses with 1xx code

haproxy.stat.response.http.2xxedit

type: long

http responses with 2xx code

haproxy.stat.response.http.3xxedit

type: long

http responses with 3xx code

haproxy.stat.response.http.4xxedit

type: long

http responses with 4xx code

haproxy.stat.response.http.5xxedit

type: long

http responses with 5xx code

haproxy.stat.response.http.otheredit

type: long

http responses with other codes (protocol error)

haproxy.stat.session.currentedit

type: long

current sessions

haproxy.stat.session.maxedit

type: long

max sessions

haproxy.stat.session.limitedit

type: long

configured session limit

haproxy.stat.session.rate.valueedit

type: integer

number of sessions per second over last elapsed second

haproxy.stat.session.rate.limitedit

type: integer

configured limit on new sessions per second

haproxy.stat.session.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: long

layer5-7 code, if available

haproxy.stat.check.durationedit

type: long

time in ms took to finish last health check

haproxy.stat.check.health.lastedit

type: long

haproxy.stat.check.health.failedit

type: long

haproxy.stat.check.agent.lastedit

type: integer

haproxy.stat.check.failededit

type: long

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

haproxy.stat.check.downedit

type: long

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.client.abortededit

type: integer

number of data transfers aborted by the client

server Fieldsedit

haproxy.stat.server.idedit

type: integer

server id (unique inside a proxy)

haproxy.stat.server.abortededit

type: integer

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

haproxy.stat.server.activeedit

type: integer

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

haproxy.stat.server.backupedit

type: integer

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

compressor Fieldsedit

haproxy.stat.compressor.in.bytesedit

type: long

format: bytes

number of HTTP response bytes fed to the compressor

haproxy.stat.compressor.out.bytesedit

type: integer

format: bytes

number of HTTP response bytes emitted by the compressor

haproxy.stat.compressor.bypassed.bytesedit

type: long

format: bytes

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

haproxy.stat.compressor.response.bytesedit

type: long

format: bytes

number of HTTP responses that were compressed

proxy Fieldsedit

haproxy.stat.proxy.idedit

type: integer

unique proxy id

haproxy.stat.proxy.nameedit

type: keyword

proxy name

queue Fieldsedit

haproxy.stat.queue.limitedit

type: integer

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

haproxy.stat.queue.time.avgedit

type: integer

the average queue time in ms over the 1024 last requests