GoAccess is an open-source web analytics application

Step1. Install the epel repository

yum install -y epel-release

Step2. Install the packages

yum install httpd goaccess

Step3. Start/Enable the service

systemctl start httpd
systemctl enable httpd

Step4. Allow service on firewalld

firewall-cmd --add-service=http --permanent
firewall-cmd --reload

Step5. Check logs

goaccess /var/log/httpd/access_log --log-format=COMBINED

Step6. Check HTML report

goaccess /var/log/httpd/access_log --log-format=COMBINED -a -o /var/www/html/report.html

Step7. Access via browser

http://ipaddress/report.html

LEAVE A REPLY

Please enter your comment!
Please enter your name here