Parsing IIS logs with log Parser Studio

Source: Internet
Author: User

Discover a powerful graphical IIS log analysis tool--log Parser Studio, below to share a practical case.

1. Install log Parser Studio

A) You need to install log parser,:http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=24659 first

b) Install Log Parser studio,:http://gallery.technet.microsoft.com/log-parser-studio-cd458765 and unzip it after downloading.

2. Run Log Parser Studio

Run LPS.exe in the previously unzipped Lpsv2.d1 folder.

3. Specify the IIS log file path

4. Create a query

A) Click on the "Create a new Queyr" button

b) Enter query statements (SQL syntax) in the query window, such as:

SELECT TOP cs-uri-stem,time-taken,to_timestamp (date, time) as Timestampfrom ' [LogFilePath] ' WHERE time-taken > 2000

c) Set the log Type, for example, Iisw3clog is used here.

5. Execute the query

A) Click on the "Execute Active query" button

b) The results of the implementation are as follows:

It's really convenient!

Resources

Introducing:log Parser Studio

Parsing IIS logs with log Parser Studio

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.