I'm having an issue where spaces found in the name seem to screw up Log Parser, here is an example:
#Fields: cs-method cs-uri-stem cs(User-Agent) c-ip xheaderfor GET /iisstart.htm "Mozilla/5.0 (Windows NT 6.1; WOW64)" ::1 "192.168.1.1, 10.1.1.1" GET / "Mozilla/5.0 (Windows NT 6.1; WOW64)" ::1 "192.168.1.1, 10.1.1.1"
and the Log Parser query and output:
LogParser.exe "
SELECT cs-method, c-ip, cs(User-Agent), COUNT(*) AS [Requests]
FROM *.log
WHERE cs-method NOT LIKE '%POST%'
GROUP BY cs-method, c-ip, cs(User-Agent)
ORDER BY cs-method, Requests
" -i:w3c
cs-method c-ip cs(User-Agent) Requests
--------- ------------- -------------- --------
GET (Windows NT 2
GET "stuff.local" "Mozilla/5.0 6
Statistics:
-----------
Elements processed: 8
Elements output: 2
Execution time: 0.00 secondsI first noticed this with the Default Web Site, so I changed the name to "DefaultWebSite" but I won't be able to fix the User-Agent.
Anybody have any ideas on how to get around this?