Hi Joe,

On 2012-01-09 14:25, Joseph Hardeman wrote:
> I was wondering if anyone has a way to parse the logs and present them
> in a friendly format?  Such as with AWStats or another log parser.

There is Logstash [1] which includes patterns for parsing the HAProxy
HTTP log format. It can either store the logs itself in elasticsearch
has a reporting UI itself or can ship your logs anywhere you like. A
popular (and really awesome) choice is Graylog [2] which provides all
kinds or reporting and analytics on your logs.

If you want to use your existing log analyzing stack and don't need the
added information from the HTTP logs, you can use

option httplog clf

which generates Logs in the Common Log Format (clf) which is also used
by default by Apache. It is more compatible with inflexible log parsers
but gives you less information about requests than the default HTTP log
does.

[1] http://logstash.net/
[2] http://graylog2.org/

--Holger


Reply via email to