Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use LogParser to find out the LENGTH of a field in an IIS Log?

Tags:

iis

logparser

Well, looks like I answered my own question.

LogParser.exe -i:IISW3C 
"SELECT COUNT(cs(User-Agent)) AS Client 
FROM *.log WHERE STRLEN(cs(User-Agent)) > 100"