Re: [rrd-users] Web log graphing

This is a discussion on Re: [rrd-users] Web log graphing within the RRD Users forums, part of the Networking and Network Related category; You should be able to get the bytes of each request from the access log, it should be the 7th ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-19-2007
Geoff Garside
 
Posts: n/a
Default Re: [rrd-users] Web log graphing

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.

I don't know any application which will currently take this information and
add it to RRD. You might have to add up the bytes from X minute blocks or
whatever to get reasonably sensible results though.

Regards,
Geoff Garside

Open Hosting Ltd

> -----Original Message-----
> From: rrd-users-bounces@lists.oetiker.ch [mailto:rrd-users-
> bounces@lists.oetiker.ch] On Behalf Of Richard Pyne
> Sent: 19 June 2007 14:56
> To: rrd-users@lists.oetiker.ch
> Subject: Re: [rrd-users] Web log graphing
>
> On 19 Jun 2007 at 8:38, Sergiusz Pawlowicz wrote:
>
> > On 6/19/07, Richard Pyne <rpyne@kinfolk.org> wrote:
> > > Before I re-invent the wheel, does anyone have or know of scripts to
> > > graph the total bytes transfered using the data from an Apache web

> log?
> > >
> > > I know I can handle the rrdtool part, but I am not sure how to collect
> > > and total the data from the web log.

> >
> > check collectd: http://collectd.org/
> >
> > it is reading apache server-status each ten seconds,
> > so you will have very nice graphs.

>
> This would be nice, but I need it to use the access_log file so I can
> track virtual domains separately.
>
> Thanks for the suggestion.
>
> _______________________________________________
> rrd-users mailing list
> rrd-users@lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0