LinTut

GoAccess – real time Web Server (Apache/Nginx) log analyzer

goaccess realtime apache and nginx log analizer

goaccess realtime apache and nginx log analizer

GoAccess is an open source real-time Apache/Nginx log analyzer tool and interactive viewer that runs in a command-line.
It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly. GoAccess will collect data from the parsed log and it will display it to the console or the X terminal. The collected information or generated reports will be displayed to the user/sysadmin in a visual/interactive window.

Features

GoAccess parses the specified web log file and outputs the data to the X terminal. Features include:

See more features

Nearly all web log formats

GoAccess allows any custom log format string. Predefined options include, but not limited to:

GoAccess Requirement

Install Required Packages for GoAccess

Lets install required packages first using Yum utility:

For CentOS:

# yum install ncurses-devel glib2-devel geoip

For Ubuntu:

# apt-get install libncurses5-dev libglib2.0-dev *libgeoip-dev

Install GoAccess

First download latest stable version of GoAccess.

# wget http://downloads.sourceforge.net/project/goaccess/0.6/goaccess-0.6.tar.gz

Extract the file with Tar command.

# tar -xvf goaccess-0.6.tar.gz

Next ‘cd’ to to the directory containing the package’s source code and type `./configure’ to configure the package for your system.

# cd 
# ./configuregoaccess-0.6

If you want to enable geoip to `./configure’, you can pass.

# ./configure --enable-geoip

Type `make’ to compile the package.

# make

Type `make install’ to install the programs and any data files and documentation.

# make install

How To Use GoAccess

The simple and fastest way to use:

# goaccess -f /var/log/httpd/access_log
GoAccess real time webserver log analyzer

Reference: http://goaccess.prosoftcorp.com/

Exit mobile version