HAProxy log parser
Paste lines from /var/log/haproxy.log or journalctl -u haproxy. One line is explained field by field; many lines get statistics: status codes, termination states, slowest requests and timings per backend. Nothing leaves your browser.
Line explained
| Field | Value | Meaning |
|---|
By status
Termination states
Backends and servers
Average timers
Response time per backend (Ta, ms)
| Backend | Requests | Average | Median | 95th | Max |
|---|
Slowest requests
| Line | Timers | Total | Status | State | Backend/server | Request |
|---|
Top clients
Top paths
Requests
Click a row to explain that line.
Timers
TR request headers received
Tw waiting in queue
Tc TCP connect to server
Tr server response headers
Td data transfer (Ta โ the rest)
httplog shows TR/Tw/Tc/Tr/Ta in milliseconds; Ta is the whole active request. Before 1.9 the same place held Tq/Tw/Tc/Tr/Tt: Tq included the keep-alive idle time and Tt the whole session. tcplog shows Tw/Tc/Tt. -1 means the phase never completed; that, with the termination state, tells where a request died.
Termination states
Four characters in httplog (tsc), two in tcplog (ts): who or what ended the session, in which phase, then the persistence-cookie status on the client and server side.
Common combinations
| State | Meaning |
|---|