This is a discussion on Re: [rrd-users] Web log graphing within the RRD Users forums, part of the Networking and Network Related category; here's a php script that you might be able to modify to get the output http://tools.wikimedia.de/~...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
here's a php script that you might be able to modify to get the output
http://tools.wikimedia.de/~leon/sour...s/requests.php -----Original Message----- From: rrd-users-bounces@lists.oetiker.ch [mailto:rrd-users-bounces@lists.oetiker.ch]On Behalf Of Simon Hobson Sent: Wednesday, 20 June 2007 1:05 AM To: rrd-users@lists.oetiker.ch Subject: Re: [rrd-users] Web log graphing 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. _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users ================================================== ============================ The information contained in this email and any attachment is confidential and may contain legally privileged or copyright material. It is intended only for the use of the addressee(s). If you are not the intended recipient of this email, you are not permitted to disseminate, distribute or copy this email or any attachments. If you have received this message in error, please notify the sender immediately and delete this email from your system. The ABC does not represent or warrant that this transmission is secure or virus free. Before opening any attachment you should check for viruses. The ABC's liability is limited to resupplying any email and attachments ================================================== ============================ _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|