GoAccess - Nginx Log Analysis

GoAccess is an open source web access log analysis tool that provides administrators with fast, reliable, visualized statistics, including visit overview, dynamic page requests, static page requests, visitor rankings, visitor operating systems, visitor browsers, referrer domains, 404 errors, search crawlers, search keywords, and more [1]

Installation

apt-get install goaccess

Usage

goaccess -f log_file

-a enable the User-Agents list for selected hosts

-f set the log file path

Examples

goaccess -f  FILE -a

Analyze the specified log file

zcat -f  FILE | goaccess -a > report.html

Use a pipe to process all log files and generate an html report

References