.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Required to disable full justification in groff 1.23.0. .if n .ds AD l .\" ======================================================================== .\" .IX Title "W3C_EXTENDED2DLF.IN 1" .TH W3C_EXTENDED2DLF.IN 1 2025-09-28 "Lire 2.1.1" "LogReport's Lire Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME w3c_extended2dlf \- convert W3C Extended Log file as used by MS IIS to DLF .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBw3c_extended2dlf\fR \fIfile\fR .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBw3c_extended2dlf\fR 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 .PP 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. .PP 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/. .PP To have the maximum information in you reports, we suggests that you log the following fields : .PP .Vb 2 \& date, time, c\-ip, c\-dns, cs\-uri, cs\-method, sc\-bytes, sc\-status, \& cs(User\-Agent), cs(Referer) and cs\-username .Ve .PP We also support the cs\-uri\-stem field. .PP Other fields will be ignored. .SH LIMITATIONS .IX Header "LIMITATIONS" The converter doesn\*(Aqt handle aggregation (record with count field) and will refuse to process those logs. Also it doesn\*(Aqt support changing the fields in the middle of the log file. It will ignore records that don\*(Aqt have the same schema than the first one defined. .SH EXAMPLES .IX Header "EXAMPLES" To process a log as produced in the W3C Extended Log Format: .PP .Vb 1 \& $ w3c_extended2dlf < extended.log .Ve .PP w3c_extended2dlf will be rarely used on its own, but is more likely called by lr_log2report: .PP .Vb 1 \& $ lr_log2report w3c_extended < /var/log/httpd/extended.log .Ve .SH AUTHORS .IX Header "AUTHORS" Francis J. Lacoste .SH VERSION .IX Header "VERSION" \&\f(CW$Id:\fR w3c_extended2dlf.in,v 1.17 2009/03/15 08:10:55 vanbaal Exp $ .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2001, 2002 Stichting LogReport Foundation LogReport@LogReport.org .PP This program is part of Lire. .PP 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. .PP 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. .PP 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.