TSV Output Format Examples

Log Parser

TSV Output Format Examples

File Information

Create a TSV file containing information on the files contained in the specified directory:
LogParser "SELECT Path, Name, Size, Attributes INTO Files.tsv FROM C:\Test\*.*" -i:FS -o:TSV -recurse:0

Security Events

Retrieve the 10 latest events from the Security event log and write their information to a TSV file for each event ID:
LogParser "SELECT TOP 10 EventID, EventTypeName, Message INTO Events_*.tsv FROM Security" -i:EVT -direction:BW -o:TSV


© 2004 Microsoft Corporation. All rights reserved.