Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

logparser

From Wikipedia, the free encyclopedia


logparser
Stable release
2.2.10 / 2005-04-20
Operating systemWindows Server 2003
TypeTool
LicenseFree
This article includes alist of references,related reading, orexternal links,but its sources remain unclear because it lacksinline citations. Please helpimprove this article byintroducing more precise citations.(July 2024) (Learn how and when to remove this message)

logparser is a flexiblecommand line utility that was initially written by Gabriele Giuseppini,[1] aMicrosoft employee, to automate tests forIISlogging. It was intended for use with theWindows operating system, and was included with the IIS 6.0Resource Kit Tools. The default behavior of logparser works like a "data processing pipeline", by taking anSQL 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 files andCSV files, as well as key data sources on theWindows operating system such as theEvent Log, theRegistry, thefile system, andActive Directory. The results of the input query can be custom-formatted in text based output, or they can be persisted to more specialty targets likeSQL,SYSLOG, or achart.

Common use:

> logparser<options> <SQL expression>

Example: Selecting date, time and clientusername accessingASPX-files, taken from all.log-files in the current directory.

> logparser -i:IISW3C -q "SELECTdate,time,cs-usernameFROM*.logWHEREcs-uri-stemLIKE'%.aspx'ORDERBYdate,time;"

References

[edit]
  1. ^"Microsoft Log Parser Toolkit". Archived fromthe original on 2013-01-28.

External links

[edit]

Archived links

[edit]

The following links are only available through theInternet Archive:

Retrieved from "https://en.wikipedia.org/w/index.php?title=Logparser&oldid=1327827392"
Category:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp