Problem with string LOG >>> help me!!!

Developers
2008-05-20
2012-10-11
  • fabio de rosa
    fabio de rosa
    2008-05-20

    hi, I have a problem with string the log, the my log string is:

    date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status cs(user-agent)

    how can I do to use the following string to create my stat? what is the string used in the file .conf ???

    HELP!!!

     
    • fabio de rosa
      fabio de rosa
      2008-05-22

      G O O O O O O O D D D D D !!!!!!!!!!!!!!!!!!!

      very very very very thanks!!!!!

      how can I thank you? if one day you'll be in Italy You'll be my guest! fdr@internetfly.com

       
    • Jean-Luc
      Jean-Luc
      2008-05-21

      Hi,

      Your log format is not compatible with AWStats, because it does not include the sc-bytes field. You can add this field in the log format of your IIS server.

      Jean-Luc
      http://www.internetofficer.com/awstats/

       
    • fabio de rosa
      fabio de rosa
      2008-05-21

      ok, I don'have the registration sc-bytes in the file log. you have solution?

       
    • Jean-Luc
      Jean-Luc
      2008-05-21

      Regarding the existing logs, you can try to let AWStats believe that one of the optional fields is sc-bytes (named %bytesd by AWStats). Try this:

      LogFormat = "%time2 %host %logname %other %bytesd %method %url %query %code %ua"

      The reports will be generated but all data about bandwidth will be wrong.

      For the future, I would recommend that you add the sc-bytes and the cs(Referer) fields in your IIS logs.

      Jean-Luc
      http://www.internetofficer.com/awstats/