Con esta consulta vemos los diferentes cs(User-Agent) que acceden a nuestros log:
1 |
logparser "SELECT [cs(User-Agent)], COUNT(*) AS EXPR1 FROM 'C:WINDOWSsystem32LogFilesW3*' GROUP BY [cs(User-Agent)] ORDER BY [cs(User-Agent)] desc" -i:IISW3C -o:DATAGRID |
Si queremos localizar un User-Agent:
1 |
logparser "SELECT * FROM 'C:WINDOWSsystem32LogFilesW3*' WHERE cs(User-Agent) like '%robotgenius%'" -i:IISW3C -o:DATAGRID |