For any apache/nginx or other logs. One of my favorite tools is: goaccess
For Debian/Ubuntu installation just installed via apt.
- $ sudo apt-get install goaccess
- $ goaccess access.log
Or more information can be viewed when generating an HTML file like below
- $ goaccess -f FILE.LOG –log-format=’%h %^[%d:%t %^] “%r” %s %b “%R” “%u”‘ –date-format=’%d/%b/%Y’ –date-spec=hr –time-format=’%H:%M:%S’ -a -o RESULT.HTML