Forum Moderators: phranque

Message Too Old, No Replies

Apache Logs including transfer rate?

         

kermes

10:37 am on Jun 12, 2006 (gmt 0)

10+ Year Member



Hi all,
I have a question, there is any way of including the transfer rate (in kb/s if possible) files are being served in apache logs (access_log)?

Example of what I want to get:
Normal logfile:
10.0.33.244 - - [12/Jun/2006:11:48:40 +0200] "GET /R.Payment.v2.2.zip HTTP/1.1" 200 56374149

Desired logfile:
10.0.33.244 - - [12/Jun/2006:11:48:40 +0200] "GET /R.Payment.v2.2.zip HTTP/1.1" 200 56374149 124kb/s

Thanks for all in advance, and sorry about my bad english!

Little_G

10:48 am on Jun 12, 2006 (gmt 0)

10+ Year Member



Hi,

No I don't think there is, these are all the options. [httpd.apache.org ]

Andrew

kermes

11:20 am on Jun 12, 2006 (gmt 0)

10+ Year Member



Thanks!
Looking that options in your link...I think something can be done with %T and %b options... ( %b / %T ) /1024 = transfer rate in kb/s... logfile parse using some kind of bash or perl script...

thanks again!