RConvLog - multiplatform CONVLOG replacement
Purpose
Rconvlog (Rebex Internet Log Converter) converts web server log
files from a native log format into NCSA format. It can be very useful especially
when you use a log analyzer which does not support a native IIS format or a W3C Extended format
(e.g. excellent Webalizer).
IIS is shipped with a similar program called convlog, which is able
to convert web server log files into NCSA format. However using
Microsoft convlog causes some problems: original convlog does
not transfer browser agents and referrers. When used with FTP log files,
all uploaded files are ignored.
Rconvlog deals with all those difficuilties.
Features
- converts web server log files from IIS to NCSA format
- runs on Windows, Linux and FreeBSD
- supports browser agents
- supports referrers
- when used with FTP log files both uploads and
downloads are logged (Microsoft's version converts only download)
- a call format is compatible with Microsoft convlog.
Rconvlog can in most cases be used as an out-of-the-box replacement or a
bugfix release of the original ;-)
- a powerful and efficient DNS lookup and a caching mechanism
Usage
Usage: rconvlog [options]
LogFile Options:
-o <OUTPUT directory> default = current directory
-c <HOSTNAME file cache>
-t <ncsa[:GMTOffset]>
-d convert IP addresses to DNS
-w overwrite existing files (default is append)
-b <0|1|2|3> = how to log bytes sent
0 - compatible with convlog (default)
1 - bytes sent server-client only (download)
2 - bytes sent client-server only (upload)
3 - bytes sent both upload and download
-n YYYY-MM-DDTHH:NN:SS = ignore records older than specified datetime
-h H = ignore records older than H hours
Examples:
rconvlog file.log -w
rconvlog *.log -w -d -t ncsa:+0800
rconvlog w3c*.log -w -d -c c:\temp\cache.txt
rconvlog abcd*.log efgh.log -n 2002-01-01T00:00:00