http://www.webalizer.org/ configuration Webalizer We can configure Webalizer from the command line, or through a configuration file. The following highlights the use of configuration files for configuration, which is more intuitive to use, and
Webalizer installation and configuration (solve Chinese image garbled characters)
Baidu business card:
Webalizer is an efficient and free web server log analysis program. The analysis results are saved as HTML files, which can be easily viewed on
Previously installed in English, now replaced with ChineseReference Address: http://haolulu.blog.51cto.com/3164472/6308941. Install the Webalizer required packages (need to use the relevant JPEG,png,zlib library ) Yum-y Install gd-devel.i* Yum
Previously, Nginx was used to do the Tomcat program load, which later needed to parse the log. View the number of visits. Then I looked it up on the internet and used it.Reference Address: http://daliang1215.iteye.com/blog/618829 1 . Install the
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,
First install
Yum install webalizer gd-devel
Generate analysis results
# You can query the log name by yourself and analyze nginx, apache, and varnishncsa.
Webalizer-c/etc/webalizer. conf-o/www/html/webalizer/var/log/nginx/access. log
Tomcat installs Webalizer (can count Tomcat Web Access)Install tomcat slightly (in Tomcat 6 For example, 7 basically the same)# Apt-get Install WebalizerModify the Tomcat log format# vi/var/lib/tomcat6/conf/server.conf (plus rotatable= "false" at
Project background:The log is particularly important to us, but we also know that the system's log output is particularly ugly, so there will be a lot of open-source log analysis software, then we need a simple to use.Lab Environment:Virtual
4.2 using the rotatelogs provided by apache to implement log rotation apache provides the ability to send logs to another program through pipelines instead of Directly Writing logs to files, in this way, the log processing capability is greatly
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.