IIS Input Format Parameters

Log Parser

IIS Input Format Parameters

The IIS input format supports the following parameters:

iCodepage
  Values: codepage ID (number)
  Default: -2
  Description: Codepage of the log file.
  Details: 0 is the system codepage; -2 specifies that the codepage is automatically determined by inspecting the filename and/or the site's "LogInUTF8" property.
  Example: -iCodepage:1245
 
recurse
  Values: recursion level (number)
  Default: 0
  Description: Max subdirectory recursion level.
  Details: 0 disables subdirectory recursion; -1 enables unlimited recursion.
  Example: -recurse:-1
 
minDateMod
  Values: date/time (in "yyyy-MM-dd hh:mm:ss" format)
  Default: not specified
  Description: Minimum file last modified date, in local time coordinates.
  Details: When this parameter is specified, the IIS input format processes only log files that have been modified after the specified date.
  Example: -minDateMod:"2004-05-28 22:05:10"
 
locale
  Values: 3-character locale ID
  Default: DEF
  Description: ID of the locale in which the log file was generated.
  Details: IIS versions earlier than 6.0 log the "Date" and "Time" fields using the current system locale date and time formats. IIS 6.0 and later versions use the ENU locale instead, regardless of the system locale settings.
For these reasons, when parsing Microsoft IIS Log File Format log files on a locale whose date and time formats do not match the formats of the locale of the computer where the log file has been created, users need to specify the ID of the system locale of the computer that created the log file.
The special "DEF" value means the current system locale.
  Example: -locale:JPN
 
iCheckpoint
  Values: checkpoint filename
  Default: not specified
  Description: Load and save checkpoint information to this file.
  Details: This parameter enables the "Incremental Parsing" feature that allows sequential executions of the same query to only process new log entries that have been logged since the last execution. For more information, see Parsing Input Incrementally.
  Example: -iCheckpoint:C:\Temp\myCheckpoint.lpc
 


© 2004 Microsoft Corporation. All rights reserved.