Installing GoAccess on CentOS/RHEL
GoAccess is a simple but useful “top”-like CLI utility giving you a quick overview of the Apache access_log entries.
Check for the latest version of GoAccess and modify the ${version} variable below as needed.
cd /tmp version="0.7.1" yum install glib2 glib2-devel glibc make geoip ncurses-devel -y wget http://downloads.sourceforge.net/project/goaccess/${version}/goaccess-${version}.tar.gz gzip -d goaccess-${version}.tar.gz tar xvf goaccess-${version}.tar cd goaccess* ./configure make make install which goaccess
Sample command
goaccess -f /var/log/httpd/krazyworks.com/access.log