GoAccess Web Server Log Analyzer

GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems. It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly.

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


  • General Statistics, bandwidth etc.
  • Top Visitors
  • Requested files
  • Requested static files, images, swf, js, etc.
  • Referrers URLs
  • 404 or Not Found
  • Operating Systems
  • Browsers and Spiders
  • Hosts, Reverse DNS, IP Location
  • HTTP Status Codes
  • Referring Sites
  • Keyphrases
  • Support for IPv6
  • Different Color Schemes
  • Unlimited log file size
  • Custom log format


How To Install GoAccess:

Presently, GoAccess is not available from yum repositories, so we need to manually download and compile it using source code under redhat based systems.

On RHEL/Centos/Fedora

On Debian

GoAccess utility is available since Debian Squeeze 6. To install just run the following command on the terminal.

For older Debian releases, you can be able to install it by adding a line to your/etc/apt/sources.list file as shown below.

On Ubuntu

Since Ubuntu 11.04 it is available from the apt-get repositories. So, you can simple type the following command on the terminal to install it.

For older Ubuntu releases, simple add the following line to your /etc/apt/sources.list file and then run the commands to install it as shown below.

How To Use GoAccess?

Once, goaccess is installed, execute .goaccess. command without any arguments will list the help menu.

Usage: goaccess [ -e IP_ADDRESS][ – a ][ – c ]< -f log_file >

The following options can also be supplied to the command:

HOST module. Disabled by default.

Examples can be found by running man goaccess.

The easiest way to get the any web server statistics use the flag .f. with input log file name as shown below. The below command will give you general statistics of your web server logs.


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

The following two tabs change content below.

Tapas Mishra

Sr. Engineer (DevOps)
Loves to work on Opensource products. Having experience on Linux environment. Knowledge on Public cloud services like AWS, Rackspace, DigitalOcean, Linode. Please don't hesitate to give a comment on the posts. Your comments are my strength.

One thought on “GoAccess Web Server Log Analyzer

Leave a Reply