FILE: PrepWebLog Utility Prepares IIS Logs for SQL Bulk Insert (296093)
The information in this article applies to:
- Microsoft Internet Information Server 3.0
- Microsoft Internet Information Server 4.0
- Microsoft Internet Information Services 5.0
This article was previously published under Q296093 SUMMARY
Microsoft Knowledge Base article
296085 HOWTO: Analyzing Web Logs with SQL
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.
Modification Type: | Minor | Last Reviewed: | 8/30/2004 |
---|
Keywords: | kbfile KB296093 |
---|
|