w3c_extended2dlf(1) convert W3C Extended Log file as used by MS IIS to DLF

SYNOPSIS

w3c_extended2dlf file

DESCRIPTION

w3c_extended2dlf converts web server log files in the W3C Extended Log Format to the www DLF. This log format is defined at http://www.w3.org/TR/WD-logfile.html

It is used by IIS 4.0 and IIS 5.0. This is a customizable format which contains an header specifying which information is present in the log.

Some documenation on these log file formats is available in the section on ``Analyzing Log Files (IIS 6.0)'' in the ``IIS 6.0 Documentation'' at the ``Microsoft Windows Server 2003 TechCenter'' at http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/ Library/IIS/610b7d2c-90d6-4e40-be79-aaf88a283f03.mspx?mfr=true . The newer IIS 7.0 product is documented at http://www.iis.net/.

To have the maximum information in you reports, we suggests that you log the following fields :

 date, time, c-ip, c-dns, cs-uri, cs-method, sc-bytes, sc-status,
 cs(User-Agent), cs(Referer) and cs-username

We also support the cs-uri-stem field.

Other fields will be ignored.

LIMITATIONS

The converter doesn't handle aggregation (record with count field) and will refuse to process those logs. Also it doesn't support changing the fields in the middle of the log file. It will ignore records that don't have the same schema than the first one defined.

EXAMPLES

To process a log as produced in the W3C Extended Log Format:

 $ w3c_extended2dlf < extended.log

w3c_extended2dlf will be rarely used on its own, but is more likely called by lr_log2report:

 $ lr_log2report w3c_extended < /var/log/httpd/extended.log

AUTHORS

Francis J. Lacoste <[email protected]>

VERSION

$Id: w3c_extended2dlf.in,v 1.17 2009/03/15 08:10:55 vanbaal Exp $

COPYRIGHT

Copyright (C) 2001, 2002 Stichting LogReport Foundation [email protected]

This program is part of Lire.

Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.