I was wondering if is there any way to track different HTTP codes that HAProxy send to clients.
For example, have a log with just a list of different status codes:
200
200
302
404
499
500
Having that, I can graph it with rrdtool or something else.
HAProxy provides the status code in the httplog format:
You just need to activate it with
option httplog
http://cbonte.github.io/haproxy-dconv/configuration-1.4.html#8.2.3