W3C Input Format From-Entity Syntax

Log Parser

W3C Input Format From-Entity Syntax

<from-entity> ::= <filename> [ , <filename> ... ] |
http://<url> |
STDIN
The <from-entity> specified in queries using the W3C input format is either:
  • A comma-separated list of paths of W3C Extended log files, eventually including wildcards;
  • The URL of a file in the W3C Extended Log File Format;
  • The "STDIN" keyword, which specifies that the input data is available from the input stream (commonly used when piping command executions).

Examples:

FROM LogFiles1\pf*.log, LogFiles2\pf*.log, \\MyServer\LoggingShare\pf*.log
FROM http://www.microsoft.adatum.com/MyLogFiles/example.log
type mylog.log | LogParser "SELECT * FROM STDIN" -i:W3C


© 2004 Microsoft Corporation. All rights reserved.