Monitor Real-Time Traffic of Apache Web Server Using GoAccess

Monitor Real-Time Traffic with GoAccess is an Open Source log analyzing tool for Apache/Nginx webserver to analyze the real-time traffic on the server. We can install goaccess apache monitoring tool to monitor the logs in Linux.

we can monitor the apache logs in realtime with the help of these tools. So, we can identify the problems and slow the performance of the webserver. It shows you the data in realtime and you can analyze the logs with GUI way.

Check Out: How To Extend LVM For Volume Group Size On Linux

Monitor Real-Time Traffic of Apache Web Server:

This is pretty easy to install and configure. you can configure this setup on the same apache server where you can also get more details about the traffic on your server by adding few parameters in the apache log format in httpd.conf

Install some dependencies of GoAccess

yum -y install ncurses-devel gcc geoip-devel tokyocabinet-devel 

Check Out: Load PHP Module For Apache

Link to download the package Download.

Extract the Package 

tar -xzvf goaccess-1.3.tar.gz
cd goaccess-1.3/

/configure --enable-utf8 --enable-geoip=legacy

Check Out: Disable HTTP TRACE Or TRACK Request In Httpd

apache monitoring tool

Now run below commands

Make
Make install

After all, these now create a Symlink of goaccess file in your executable path.

ln -s /usr/local/bin/goaccess /usr/bin/goaccess

Check Out: Check Apache Version

Now access the httpd log to monitor

goaccess -f /var/log/httpd/access_log

 

install goaccess

The output will be like this.

You’re done apache monitoring tool monitor  with goaccess install  in linux

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment