On 15 September 2010 18:25, Willy Tarreau <[email protected]> wrote: > On Wed, Sep 15, 2010 at 05:56:39PM +0200, Graeme Donaldson wrote: > > As of 1.4, HAproxy does have the "option httplog clf" option, which > > generates logs in "common log format", which AWstats understands just > fine. > > In our case however, we have used "combined log format" in the past, > which > > gives us the HTTP User-Agent and Referer headers, which enables some > useful > > stats in AWstats. Switching to common log format would reduce the amount > of > > information we get from our AWstats. > > You can still enable header captures though (check "capture request > header"). > > Regards, > Willy > > Nice, I wasn't aware of that. I'd add a caveat though.... according to the doc, header capture is limited to 64 bytes. Its usefulness would therefore be severely limited for headers like User-Agent or even Referer, which can easily exceed 64 bytes.
Graeme.

