IIS 6 logfile issue and resolution

Developers
jeradc
2004-09-23
2012-10-11
  • jeradc
    jeradc
    2004-09-23

    I had to change my LogFormat var from the one I was told either in the install instructions, or the faq, to the one below.

    If you notice I do have the options selected, as per the installation instructions, but for some reason they appear in a different order.

    MINE:

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

    AWSTATS:

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

    Everything would work fine, but all my traffic was listed as "Not Viewed Traffic".... now it is listed correctly.

     
    • Gaetano Giunta
      Gaetano Giunta
      2004-10-01

      FWIV here's what I got (enabling almost all I could on IIS 6 logging)

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