|
Log File Format
We suggest you use the W3C Extended Log File format on your web server, as it
is the only IIS5 format that logs Browser/Platform and Referrer information. The
SurfStatsLive Reporting Service also supports the other available IIS5 formats. To
set it up on IIS5, (IIS4 should be very similar):
Click on Start Settings Control Panel - Programs - Administrative Tools -
Internet Services Manager - select your server and web site- right click on it and
select Properties - Choose Active log format (W3C Extended Log File Format) -
Click on Properties - Extended Properties and set the required fields.
At least the following fields should be logged (and it should be done per virtual
web server):
Date
Time
Client IP address (c-ip)
User Name (cs-username)
Server IP address (s-ip)
Server Port (s-port)
Method (cs-method)
URl Stem (cs-uri-stem)
Url Query (cs-uri-query)
Protocol Status (sc-status)
Cookie (cs(Cookie))*
Referer (cs(Referer))*
Bytes sent (sc-bytes)*
Bytes received (cs-bytes)*
* By default IIS does not log these field, it has to be explicitly specified.
It is recommended to log all the extended properties from the Extended
Properties tab.
Stop and start the Virtual Web Server. Create an entry in the log file by accessing
your web site with a browser and check if it is correct.
Please note that IIS reserves and locks a 64 KB block in the current log file it is
logging to. Null characters are stored in the file in the unused section of the 64KB
block after the log entries. The log entries of current 64 KB block in use is now
|