haproxy fieldsedit

haproxy Module

haproxy fieldsedit

destination fieldsedit

Destination information

haproxy.destination.port

type: long

Port of the destination host

haproxy.destination.ip

IP of the destination host

haproxy.process_name

Name of the process

haproxy.pid

type: long

PID of the process

client fieldsedit

Information about the client doing the request

haproxy.client.ip

IP address of the client which initiated the TCP connection to haproxy.

haproxy.client.port

type: long

TCP port of the client which initiated the connection.

haproxy.frontend_name

Name of the frontend (or listener) which received and processed the connection.

haproxy.backend_name

Name of the backend (or listener) which was selected to manage the connection to the server.

haproxy.server_name

Name of the last server to which the connection was sent.

haproxy.total_waiting_time_ms

type: long

Total time in milliseconds spent waiting in the various queues

haproxy.connection_wait_time_ms

type: long

Total time in milliseconds spent waiting for the connection to establish to the final server

haproxy.bytes_read

type: long

Total number of bytes transmitted to the client when the log is emitted.

haproxy.time_queue

type: long

Total time in milliseconds spent waiting in the various queues.

haproxy.time_backend_connect

type: long

Total time in milliseconds spent waiting for the connection to establish to the final server, including retries.

haproxy.server_queue

type: long

Total number of requests which were processed before this one in the server queue.

haproxy.backend_queue

type: long

Total number of requests which were processed before this one in the backend’s global queue.

haproxy.bind_name

Name of the listening address which received the connection.

haproxy.error_message

type: text

Error message logged by HAProxy in case of error.

haproxy.source

type: text

The HAProxy source of the log

geoip fieldsedit

Contains GeoIP information gathered based on the client.ip field. Only present if the GeoIP Elasticsearch plugin is available and used.

haproxy.geoip.continent_name

type: keyword

Name of the continent.

haproxy.geoip.country_iso_code

type: keyword

Country ISO code.

haproxy.geoip.location

type: geo_point

Represents a geopoint with the longitude and latitude.

haproxy.geoip.region_name

type: keyword

Name of the region

haproxy.geoip.city_name

type: keyword

City name.

haproxy.geoip.region_iso_code

type: keyword

ISO code of the region

haproxy.termination_state

Condition the session was in when the session ended.

connections fieldsedit

Contains various counts of connections active in the process.

haproxy.connections.active

type: long

Total number of concurrent connections on the process when the session was logged.

haproxy.connections.frontend

type: long

Total number of concurrent connections on the frontend when the session was logged.

haproxy.connections.backend

type: long

Total number of concurrent connections handled by the backend when the session was logged.

haproxy.connections.server

type: long

Total number of concurrent connections still active on the server when the session was logged.

haproxy.connections.retries

type: long

Number of connection retries experienced by this session when trying to connect to the server.

haproxy.mode

type: text

mode that the frontend is operating (TCP or HTTP)

http fieldsedit

Please add description

response fieldsedit

Fields related to the HTTP response

haproxy.http.response.status_code

type: long

HTTP status code returned to the client.

haproxy.http.response.captured_cookie

Optional "name=value" entry indicating that the client had this cookie in the response.

haproxy.http.response.captured_headers

type: text

List of headers captured in the response due to the presence of the "capture response header" statement in the frontend.

request fieldsedit

Fields related to the HTTP request

haproxy.http.request.captured_cookie

Optional "name=value" entry indicating that the server has returned a cookie with its request.

haproxy.http.request.captured_headers

type: text

List of headers captured in the request due to the presence of the "capture request header" statement in the frontend.

haproxy.http.request.raw_request_line

type: text

Complete HTTP request line, including the method, request and HTTP version string.

haproxy.http.request.time_active_ms

type: long

Time the request remained active in haproxy, which is the total time in milliseconds elapsed between the first byte of the request was received and the last byte of response was sent.

haproxy.http.request.time_wait_without_data_ms

type: long

Total time in milliseconds spent waiting for the server to send a full HTTP response, not counting data.

haproxy.http.request.time_wait_ms

type: long

Total time in milliseconds spent waiting for a full HTTP request from the client (not counting body) after the first byte was received.

tcp fieldsedit

TCP log format

haproxy.tcp.processing_time_ms

type: long

Total time in milliseconds elapsed between the accept and the last close

haproxy.tcp.connection_waiting_time_ms

type: long

Total time in milliseconds elapsed between the accept and the last close