Installation :
# yum install ncurses-devel glib2-devel GeoIP*
# cd /opt
# 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
To generate full statistics we can run GoAccess as:
# goaccess -f /var/log/httpd/access_log -a
Select a log format and press F10
To generate an HTML report:
#goaccess -f /var/log/httpd/access_log -a > report.html
To generate a CSV file:
# goaccess -f access.log -o csv > report.csv
Thanks,
Vishal Vyas
For more information and usage please visit http://goaccess.prosoftcorp.com/
Linuxguru