Now you wish to trace requests to a
specific URL and want to get the protocol status and protocol sub-status
combined.
Listing 17
LogParser -i:IISW3C -o:DataGrid "SELECT cs-uri-stem, STRCAT(TO_STRING(sc-status),
STRCAT('.',TO_STRING(sc-substatus))) as Status FROM ex080620.log" -q:ON
–o:DataGrid
This will find all requests that failed
with a status code of HTTP 500.
Listing 18
LogParser -i:IISW3C -o:DataGrid "SELECT cs-uri-stem, sc-status as Status FROM
ex080620.log WHERE Status='500'" -q:ON