Filebeat HAProxy fields mapping not clear, what is the total active time for the HTTP request?

I am currently looking into the haproxy log files to find out how long requests take.

Elastic Filebeat has a detailed page about HAProxy fields.

haproxy.total_waiting_time_ms
Total time in milliseconds spent waiting in the various queues

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

haproxy.time_queue
Total time in milliseconds spent waiting in the various queues.

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

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

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

haproxy.tcp.connection_waiting_time_ms
Total time in milliseconds elapsed between the accept and the last close

On the other side, HAProxy has a detailed page about the HAProxy log file format.

Timer Meaning
TR The total time to get the client request (HTTP mode only).
Tw The total time spent in the queues waiting for a connection slot.
Tc The total time to establish the TCP connection to the server.
Tr The server response time (HTTP mode only).
Ta The total active time for the HTTP request (HTTP mode only).
Tt The total TCP session duration time, between the moment the proxy accepted it and the moment both ends were closed.

Question: Where do I find default HAProxy Timers Tr or Ta (which I assume include data/body) in Elastic Filebeat HAProxy fields?

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.