"Help Mode", activated with the "-h" switch, offers users
the possibility to access "quick reference" help topics displayed
to the console output.
The help topics, selectable through additional command-line
arguments, are:
The Log Parser command-line executable usage help is accessed with the following command:
C:\>LogParser -h
The Log Parser SQL-Like language syntax help is accessed with the following command:
C:\>LogParser -h GRAMMAR
The Log Parser SQL-Like language functions syntax help is accessed with commands having the following syntax:
LogParser |
C:\>LogParser -h FUNCTIONSTyping a function name following the help command displays the syntax of the selected function only:
C:\>LogParser -h FUNCTIONS SUBSTRTyping the first few letters of a function name displays the syntax of all the functions whose name starts with the specified letters:
C:\>LogParser -h FUNCTIONS STR
Input and output formats help is displayed with commands having the following syntax:
LogParser | |
LogParser |
C:\>LogParser -h -i:IISW3CThe output of this command gives a detailed overview of the IISW3C input format, including the syntax of the <from_entity>, a list of all the supported properties together with their default values, the structure of the records produced by the input format (field names and types), and examples of queries using the input format.
C:\>LogParser -h -i:CSV TestLogFile.csvIn addition, since the parameters of some input formats can affect the structure of the input records, help commands can include these parameters to display the varying input record structures.
C:\>LogParser -h -i:NETMON -fMode:TCPConn
Conversion mode help is accessed with commands having the following syntax:
LogParser |
C:\>LogParser -h -cThe following command displays help on the conversion between the specified log file formats, including the full text of the built-in query that performs the conversion:
C:\>LogParser -h -c -i:BIN -o:W3C
Examples of queries and commands can be displayed with the following command:
C:\>LogParser -h EXAMPLES
© 2004 Microsoft Corporation. All rights reserved.