You might also get useful information (bytes received/sent per request) from mod_logio: https://httpd.apache.org/docs/current/mod/mod_logio.html
Regards, Mathijs Schmittmann On Fri, Jan 18, 2013 at 10:57 AM, Christian Folini < [email protected]> wrote: > Hey! > > You should look up the individual values in the mod_log_config > documentation. The bytecount does not constitute the > bandwidth. You have to take the time into your calculation > as well. ModSecurity can give you those timings. > You should look it up there and maybe turn to the mod-security > mailinglist for help. This list is for httpd development. > > Cheers, > > Christian Folini > > Then you should turn to the ModSecurity > On Fri, Jan 18, 2013 at 09:33:04AM +0000, Chau Pham wrote: > > Thank you, I saw this line below in access log while it was playing m3u3 > file, one of chunk below. 172.16.33.168 - - [18/Jan/2013:16:28:38 +0900] > "GET /data/That_is_love-46.ts HTTP/1.1" 200 2019496 The number 2019496, > does it stand for network traffic? I think it is in byte count, Can I > consider that as bandwidth? > > > Date: Fri, 18 Jan 2013 09:37:01 +0100 > > > From: [email protected] > > > To: [email protected] > > > Subject: Re: Add bandwidth information to access_log > > > > > > Hi there, > > > > > > On Fri, Jan 18, 2013 at 08:31:25AM +0000, Chau Pham wrote: > > > > I would like to add some bandwidth information to http server log > file: access_log, > > > > > > The Apache Security Book by Ivan Ristic has a recipe doing that with a > > > former version of ModSecurity. ModSec has since changed its timestamps > > > but it is still possible to get a value which more or less represents > > > up- and downstream bandwidth. Still, you should not trust it too much. > > > > > > Regs, > > > > > > Christian Folini > > > > > > -- > > > Christian Folini - <[email protected]> > > > > -- > Christian Folini - <[email protected]> >
