Log File Help

2004-10-14
2012-10-11
  • Please Help!! I cannot get any of my records in IIS 6 with W3C format to analyze right. All my records seem to be corrupt.

    Log File Formats Used

    "%time2 %method %url %other %other %host %other %ua %referer %code %bytesd"

    AND

    date time cs-method cs-uri-stem cs-uri-query cs-username c-ip cs-version cs(User-Agent) cs(Referer) sc-status sc-bytes

    I have tried both.

    Log File Line

    2004-10-14 19:54:16 GET /icon/clock/hr11.png - - 216.23.61.170 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+1.0.3705) http://bg.angle.com/cgi-bin/awstats.pl?config=onez&framename=mainright&update=1 200 601

     
    • Greetings,

      I had the same problem with IIS 6.0, finally i managed to use this Logformat which works (no errors) but is not counting... if you have any idea please advice

      LogFormat = 2
      LogFormat = "%time2 %method %url %host %ua %referer %code %bytesd"
      Thanks in advance

      Sisifos

       
      • Daivd Pollard
        Daivd Pollard
        2004-10-20

        Hi Guys,
        Apparently there is a mistake in the doco.
        It says to include the field cs-uri-query in log output from IIS. This is an error you can just leave this field out.
        Once I took this out it all worked as expected.

        I found this vital piece of information in another message in here somewhere. :)

        David.