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

**URL:** <https://discuss.elastic.co/t/filebeat-haproxy-fields-mapping-not-clear-what-is-the-total-active-time-for-the-http-request/266088>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 3, 2021, 10:34am UTC](https://discuss.elastic.co/t/filebeat-haproxy-fields-mapping-not-clear-what-is-the-total-active-time-for-the-http-request/266088 "2021-03-03T10:34:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://discuss.elastic.co/u/bluepuma77)\
**Post date:** [March 3, 2021, 10:34am UTC](https://discuss.elastic.co/t/filebeat-haproxy-fields-mapping-not-clear-what-is-the-total-active-time-for-the-http-request/266088/1 "2021-03-03T10:34:56Z")

</div>

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](https://www.elastic.co/guide/en/beats/filebeat/master/exported-fields-haproxy.html).

`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](https://www.haproxy.com/blog/introduction-to-haproxy-logging/).

| 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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 31, 2021, 12:35pm UTC](https://discuss.elastic.co/t/filebeat-haproxy-fields-mapping-not-clear-what-is-the-total-active-time-for-the-http-request/266088/2 "2021-03-31T12:35:55Z")

</div>

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