W3C Output Format Examples

Log Parser

W3C Output Format Examples

Event Log Report

Create a W3C file with information from the System event log:
LogParser "SELECT TO_DATE(TimeGenerated) AS date, TO_TIME(TimeGenerated) AS time, SourceName AS s-source, EventID AS s-event-id, EventCategory AS s-event-category INTO report.log FROM System" -i:EVT -o:W3C -encodeDelim:ON


© 2004 Microsoft Corporation. All rights reserved.