describes a utility that you can use to strip the header lines from an Internet Information Server/Services (IIS) log for bulk insert to Microsoft SQL Server. This article provides that utility as well as the source code.
The Prewebplog.exe utility takes the path and file name of an IIS log file, removes the lines that start with "#" (these are the header lines in Web logs) and outputs the file to STDOUT.
Release Date: JUN-21-2001
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
The PrepWebLog.exe file contains the following files:
|File name||Size (bytes)|
For example, to send the output to a file called "C:\Out.log":
Article ID: 296093 - Last Review: Nov 21, 2006 - Revision: 1