Log File Help

  • Nobody/Anonymous

    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"


    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 - - 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

    • Nobody/Anonymous


      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


      • 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. :)



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks