[rrd-users] Web log graphing
Simon Hobson
linux at thehobsons.co.uk
Tue Jun 19 17:04:53 CEST 2007
Geoff Garside wrote:
>You should be able to get the bytes of each request from the access log, it
>should be the 7th field in the standard combined log format (%b)
>
>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
>
>though the %r field will require a bit more care as you can't just split on
>spaces as the %r will have something like "GET /index.html HTTP/1.0" in it.
Does Apache have the ability to write two logs, the standard one,
plus a second with just the information (domain & bytes) required for
graphing ? That would save effort parsing the log file that may have
awkward spaces and stuff in filenames.
More information about the rrd-users
mailing list