IIS Output Format Examples

Log Parser

IIS Output Format Examples

W3C to IIS Conversion

Convert the specified W3C log file to an IIS log file:
LogParser "SELECT c-ip, cs-username, TO_DATE(TO_LOCALTIME(TO_TIMESTAMP(date, time))), TO_TIME(TO_LOCALTIME(TO_TIMESTAMP(date, time))), s-sitename, s-computername, s-ip, time-taken, sc-bytes, cs-bytes, sc-status, sc-win32-status, cs-method, cs-uri-stem, cs-uri-query INTO inetsv1.log FROM extend1.log" -i:IISW3C -o:IIS


© 2004 Microsoft Corporation. All rights reserved.