Город МОСКОВСКИЙ
00:03:09

How to analyse IIS logs using LogParser

Аватар
Питоновый стартап
Просмотры:
27
Дата загрузки:
03.12.2023 20:01
Длительность:
00:03:09
Категория:
Лайфстайл

Описание

Log Parser provides a generic SQL-like language on top of many types of data like IIS Logs, Event Viewer entries, XML files, CSV files, File System and others; and it allows you to export the result of the queries to many output formats such as CSV (Comma-Separated Values, etc), XML, SQL Server, Charts and others; and it works well with IIS 5, 6, 7 and 7.5. Some example queries can be found here: http://blogs.msdn.com/carlosag/archive/2010/03/25/analyze-your-iis-log-files-favorite-log-parser-queries.aspx

Demo Sample:
LogParser.exe "SELECT c-ip As Machine, REVERSEDNS(c-ip) As Name, COUNT(*) As Hits FROM c:\inetpub\logs\LogFiles\W3SVC1\u_ex*.log GROUP BY Machine ORDER BY Hits DESC"

Рекомендуемые видео