- Advertisement -
VPS House Servers
VPS House Servers
VPS House Servers

GoAccess is an interactive and real time web server log analyzer program that quickly analyze and view web server logs. It comes as an open source and runs as a command line in Unix/Linux operating systems. It provides brief and beneficial HTTP (web server) statistics report for Linux administrators on the fly. It also take care of both the Apache and Ngnix web server log formats.

GoAccess parses and analyze the given web server log formats in preferred options including CLF (Common Log Format), W3C format (IIS) and Apache virtual hosts and then generate output of the data to the terminal.

GoAccess Features

It has the following features.

General Statistics, bandwidth etc.
Top Visitors, Visitors Time Distribution, Referring Sites & URLs and 404 or Not Found.
Hosts, Reverse DNS, IP Location.
Operating Systems, Browsers and Spiders.
HTTP Status Codes
Geo Location – Continent/Country/City
Metrics per Virtual Host
Support for HTTP/2 & IPv6
Ability to output JSON and CSV
Incremental log processing and support for large datasets + data persistence
Different Color Schemes

How Do I Install GoAccess?

Presently, the most recent version of GoAccess 0.9.7 is not available from default system package repositories, so to install latest stable version, you need to manually download and compile it from source code under Linux systems as shown:

Install GoAccess from Source

- Advertisement -
VPS House Cloud Servers
VPS House Cloud Servers
VPS House Cloud Servers

Install GoAccess Using Package Manager

The easiest and preferred way to install GoAccess on Linux using the default package manager of your respective Linux distribution.

Note: As I said above, not all distributions will have the most recent version of GoAccess available in the system default repositories.

On RedHat, CentOS and Fedora

On Debian and Ubuntu Systems

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

Note: The above command will not always provide you the most latest version. To get the latest stable version of GoAccess, add the official GoAccess Debian & Ubuntu repository as shown:

How Do I Use GoAccess?

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

Sample Output

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.

The above command gives you an complete overview of web server metrics by showing summaries of various reports as panels on a one scrollable view as shown.

Apache Logs Overview

View-Apache-Logs

Apache Logs by Operating System – Overview

View-Apache-Logs-By-Operating-System

Apache Logs by Visitor Bandwidth – Overview

View-Apache-Visitor-Bandwidth-Usage

Apache Logs by Web Browser – Overview

View-Apache-Usage-based-on-Browsers

How do I generate Apache HTML report?

To generate an HTML report of your Apache webserver logs, just run it against your web log file.

Monitor-Apache-Logs-via-Web-Browser

For more information and usage please visit http://goaccess.io/.

- Advertisement -

There are no comments yet

  • Hello, guest