IISW3C Input Format

Log Parser

IISW3C Input Format

The IISW3C input format parses IIS log files in the W3C Extended Log File Format.

IIS web sites logging in the W3C Extended format can be configured to log only a specific subset of the available fields.
Log files in this format begin with some informative headers ("directives"), the most important of which is the "#Fields" directive, describing which fields are logged at which position in a log row.
After the directives, the log entries follow. Each log entry is a space-separated list of field values.

If the logging configuration of an IIS virtual site is updated, the structure of the fields in the file that is currently logged to might change according to the new configuration. In this case, a new "#Fields" directive is logged describing the new fields structure, and the IISW3C input format keeps track of the structure change and parses the new log entries accordingly.

The following example shows a portion of a W3C Extended Log File Format log file:

#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2003-11-18 00:28:33
#Fields: date c-ip cs-uri-stem cs-bytes
2003-11-18 192.168.1.101 /Default.htm 100
2003-11-18 192.168.1.104 /hitcount.asp 200
2003-11-18 192.168.1.102 /images/address.gif
2003-11-18 192.168.1.102 /cgi-bin/counts.exe 400


From-Entity Syntax
Fields
Parameters
Examples


See also:

W3C Input Format
W3C Output Format


© 2004 Microsoft Corporation. All rights reserved.