Use of apache log analysis tools (webalizer and awstats)

Source: Internet
Author: User
Tags apache log
In linux, logs play a very important role. we can determine the status of a service based on the log recorded content, the user access status, and the log can also help us troubleshoot errors, find out the insecure factors in our system. Of course, there are many ways to manage logs. we can use shell scripts to manage logs. To implement more powerful log management functions, we have to use log analysis tools. The following describes how to use webalizer and awstat log analysis tools. Because I have installed the httpd server on my computer

In linux, logs play a very important role. we can determine the status of a service based on the log recorded content, the user access status, and the log can also help us troubleshoot errors, find out the insecure factors in our system. Of course, there are many ways to manage logs. we can use shell scripts to manage logs. To implement more powerful log management functions, we have to use log analysis tools. The following describes how to use webalizer and awstat log analysis tools.

Since the httpd service has been installed on my computer, we will take apache log analysis as an example to introduce the usage of these two tools:

WebalizerTools

: Http://www.webalizer.org

Features of Webalizer:

1. for programs written in C, it has a high operating efficiency. On a machine with a clock speed of 10000 MHz, webalizer can analyze records per second. Therefore, it takes only 15 seconds to analyze a 40 m log file.

2. webalizer supports the standard common log file Format (CommonLogfile Format). In addition, it also supports several combinations of log formats (Combined LogfileFormat) variants to collect statistics on the customer's situation and the customer's operating system type. Now webalizer supports the wu-ftpd xferlog format and squid log file format.

3. supports command line configuration and configuration files.

4. you can support multiple languages or perform localization on your own.

5. supports multiple platforms, such as UNIX, linux, NT, OS/2, and MacOS.

Specific use of Webalizer:

If you want to use a software tool without installing it, you must first install it. because the software is a source code package, you must unpack it before installation, then, you can configure, compile, and install and use the SDK.

Related Article

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.