Current User: Guest Login
Please consider registering

Lost Your Password?

Search Forums:


Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

LogFormat check please

Reply to Post Add a New Topic

5:42 pm
August 2, 2010



Hi Jean,

I was wondering if you could check my logformat to see if it's correct.

#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken

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

Log output:

2010-06-24 06:34:48 POST /asdf/asdfservice.asmx – 80 – Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 200 0 0 0

Thank you!

7:07 pm
August 2, 2010



This logformat seems correct, but I'm still getting an error stating my "personalized LogFormat does not include all fields required by AWStats (Add%bytessd in your LogFormat string)"

8:06 pm
August 2, 2010



posts 1125

The %bytesd  field is mandatory. It is called sc-bytes  by IIS. As it is not included in your log format, you can fool AWStats by using %bytesd  in place of one of the last unused fields like this:

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

The values of the bandwidth and numbers of bytes in the report will be wrong, but all other data will be valid.

8:21 pm
August 2, 2010



Jean your AWStats-fu skills are so awesome it hurts. Danke!

Reply to Post

Reply to Topic:
LogFormat check please

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
11 + 12

About the Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
12 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710


There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)