What is GoAccess?
GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal on *nix systems or through your browser. It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly.
How to install GoAccess on MAC OS?
1 2 |
## Using homebrew brew install goaccess |
How to install GoACcess on Windows OS?
1 2 3 4 5 6 |
## CowAxess is a GoAccess implementation for Windows systems. ## It is a packaging of GoAccess, Cygwin and many other related ## tools to make it a complete and ready-to-use solution for ## real-time web log analysis, all in a 4 MB package. ## You can install CowAxess using below link https://itefix.net/cowaxess?qt-cowaxess=1#qt-cowaxess |
Install GoAccess from source (any OS):
1 2 3 4 5 6 |
wget https://tar.goaccess.io/goaccess-1.5.5.tar.gz tar -xzvf goaccess-1.5.5.tar.gz cd goaccess-1.5.5/ ./configure --enable-utf8 --enable-geoip=mmdb make make install |
Note: You may need to install build tools like gcc
, autoconf
, gettext
, autopoint
etc for compiling/building software from source. e.g., base-devel
, build-essential
, "Development Tools"
.
How to install GoAccess on Ubuntu and Debian OS?
1 2 3 4 |
wget -O - https://deb.goaccess.io/gnugpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/goaccess.gpg >/dev/null echo "deb [signed-by=/usr/share/keyrings/goaccess.gpg] https://deb.goaccess.io/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/goaccess.list sudo apt-get update sudo apt-get install goaccess |
How to install GoAccess on RHEL, CentOS, and Fedora OS?
1 2 |
## Using yum yum install goaccess |
How to install GoAccess on Gentoo Linux OS?
1 2 |
## Using emerge emerge net-analyzer/goaccess |
How to install GoAccess on Arch Linux OS?
1 2 |
## Using pacman pacman -S goaccess |
How to install GoAccess on FreeBDS OS?
1 2 |
## Using pkg pkg install sysutils/goaccess |
How to install GoAccess on OpenBDS OS?
1 2 |
## Using pkg_add pkg_add goaccess |
How to install GoAccess on openSUSE OS?
1 2 |
## Using zypper zypper in goaccess |
How to install GoAccess on NetBSD, Solaris, and SmartOS OS?
1 2 |
## Using pkgin pkgin install goaccess |
GoAccess Usage Examples:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
## To output to a terminal and generate an interactive report: goaccess access.log ## To generate an HTML report: goaccess access.log -a > report.html ## To generate a JSON report: goaccess access.log -a -d -o json > report.json ## To generate a CSV file: goaccess access.log --no-csv-summary -o csv > report.csv ## GoAccess also allows great flexibility for real-time filtering and parsing. ## For instance, to quickly diagnose issues by monitoring logs since goaccess was started: tail -f access.log | goaccess - |
To get more details on GoAccess, please refer https://github.com/allinurl/goaccess