Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

apache2 combinedIO log input traffic account

z_m
2011-07-30
2012-10-11
  • z_m
    z_m
    2011-07-30

    Hello, id like to count input apache2 traffic (mod_logio), could you, please,
    give me a hint how its could be done?
    the logformat of the apache2 is
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O"
    combinedio
    Thank you.

     
  • Jean-Luc
    Jean-Luc
    2011-07-31

    Hello,

    To count the bytes received by the server, use :

    LogFormat="%host %other %logname %time1 %methodurl %code %other %refererquot %uaquot %bytesd %other"
    

    Jean-Luc, AWStats Support

     
  • z_m
    z_m
    2011-08-01

    Thanks. So i have to count inpt and output traffic in separate configs?

     
  • Jean-Luc
    Jean-Luc
    2011-08-01

    That's correct. AWStats only supports one byte counter.

    Jean-Luc, AWStats Support

     
  • z_m
    z_m
    2011-08-04

    Thanks!