Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: GoAccess  (Read 3877 times)

0 Members and 1 Guest are viewing this topic.

Vinil

  • Guest
GoAccess
« on: January 16, 2014, 09:52:45 pm »
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.

Install GoAccess

Code: [Select]
# yum install ncurses-devel glib2-devel GeoIP*
# cd /usr/src
# wget http://sourceforge.net/projects/goaccess/files/0.5/goaccess-0.5.tar.gz/download
# tar zxvf goaccess-0.5.tar.gz
# cd goaccess-0.5
# ./configure
#  make; make install

Use GoAccess?

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

# goaccess

Quote
GoAccess - 0.5

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

The following options can also be supplied to the command:

 -f <argument> - Path to input log file.
 -c            - Prompt log/date configuration window.
 -a            - Enable a List of User-Agents by host.
                 For faster parsing, don't enable this flag.
 -e <argument> - Exclude an IP from being counted under the
                 HOST module. Disabled by default.

Examples can be found by running `man goaccess`.

For more details visit: http://goaccess.prosoftcorp.com
GoAccess Copyright (C) 2009-2012 GNU GPL'd, by Gerardo Orellana

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.


Quote
# goaccess -f /var/log/httpd/domain.com
# goaccess -f /var/log/nginx/domain.com


give a try...  :)
« Last Edit: January 16, 2014, 10:39:22 pm by Vinil »