HOME

TheInfoList



OR:

logparser is a flexible
command line A command-line interpreter or command-line processor uses a command-line interface (CLI) to receive commands from a user in the form of lines of text. This provides a means of setting parameters for the environment, invoking executables and pro ...
utility that was initially written by Gabriele Giuseppini, a
Microsoft Microsoft Corporation is an American multinational corporation, multinational technology company, technology corporation producing Software, computer software, consumer electronics, personal computers, and related services headquartered at th ...
employee, to automate tests for IIS logging. It was intended for use with the
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ...
operating system, and was included with the IIS 6.0 Resource Kit Tools. The default behavior of logparser works like a "data processing pipeline", by taking an SQL expression on the command line, and outputting the lines containing matches for the SQL expression. Microsoft describes Logparser as a powerful, versatile tool that provides universal query access to text-based data such as log files,
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. ...
files and CSV files, as well as key data sources on the
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ...
operating system such as the Event Log, the
Registry Registry may refer to: Computing * Container registry, an operating-system-level virtualization registry * Domain name registry, a database of top-level internet domain names * Local Internet registry * Metadata registry, information system for re ...
, the file system, and
Active Directory Active Directory (AD) is a directory service developed by Microsoft for Windows domain networks. It is included in most Windows Server operating systems as a set of processes and services. Initially, Active Directory was used only for centr ...
. The results of the input query can be custom-formatted in text based output, or they can be persisted to more specialty targets like SQL,
SYSLOG In computing, syslog is a standard for message logging. It allows separation of the software that generates messages, the system that stores them, and the software that reports and analyzes them. Each message is labeled with a facility code, i ...
, or a chart. Common use: $ logparser Example: Selecting date, time and client username accessing ASPX-files, taken from all
.log In computing, logging is the act of keeping a log of events that occur in a computer system, such as problems, errors or just information on current operations. These events may occur in the operating system or in other software. A message or lo ...
-files in the current directory. $ logparser -i:IISW3C -q "SELECT date, time, cs-username FROM *.log WHERE cs-uri-stem LIKE '%.aspx' ORDER BY date, time;"


References

{{Reflist


External links


Log Parser Lizard
GUI for Logparser
Log Parser Studio
GUI Utility for LogParser
Logparser Forums
- the Logparser forums
The Microsoft logparser overview page
- Archived page. *
Logparser Download

Professor Windows - May 2005 - How Log Parser 2.2 Works
by Gabriele Giuseppini


Under the hood of Logparser
by Jeff Atwood
Visual Log Parser
GUI for Logparser
Log Parser Plus
Queries/Tutorials to help you analyze logs

OLEDB input format plugin Windows security software