Site log real-time analysis tool goaccess use

Source: Internet
Author: User

Site log real-time analysis tool goaccess use

System environment
CentOS Release 5.5 (Final)

Goaccess is an open-source website log real-time analysis tool.
The way goaccess works is to read and parse apache/nginx/lighttpd access log files, and then display the statistics in a more friendly way. Statistics include: Access profile, dynamic page requests, static page requests (slices, style sheets, scripts, etc.), visitor rankings, guest use of the operating system, browser used by visitors, routing domain names, 404 errors, search crawlers, search keywords and so on.
Goaccess's performance is good, according to the official test, the speed of processing log files on an Intel Xeon CPU @ 2.40ghz CPU, 2GB memory machine is 97000 lines per second.
Here's how to install the source code:

Install the tools and libraries you need to compile goaccess on CentOS:
# yum Groupinstall ' development Tools '
# yum Install glib2 glib2-devel ncurses-devel

Also install the tools and libraries you need to compile goaccess on Ubuntu 12.04:
$ sudo apt-get install build-essential
$ sudo apt-get install Libglib2.0-dev Libncursesw5-dev

Download the source code, compile, and install the goaccess:
$ wget http://downloads.sourceforge.net/project/goaccess/0.7.1/goaccess-0.7.1.tar.gz
$ TAR-XZVF goaccess-0.7.1.tar.gz
$ CD GOACCESS-0.7.1/
$./configure--enable-utf8
$ make
$ sudo make install

Run goaccess, select NCSA Combined Log Format:
$ goaccess-f/usr/local/nginx/logs/access.log

Resources:
Nginx Log Analysis tool goaccess http://www.cnblogs.com/yjf512/p/3640346.html

Analyze Nginx log files using goaccess visualization in the Centos6.3 of Linux systems http://my.oschina.net/jiangbianwanghai/blog/287694

Goaccess-nginx Log Analysis Tool Introduction http://hao360.blog.51cto.com/5820068/1344435

Site log real-time analysis tool goaccess use

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.