Log File Analysis

To analyze log files, we installed to GoAccess and Log File Navigator utilities:

GoAccess

To analyze webserver log files, use goaccess:

goaccess ~/log/apache-access.log

Log File Navigator

To analyze webserver as well as system log files, use lnav:

# all webserver log files
lnav ~/log/

# all system logs
lnav /var/log/

# system syslog
lnav /var/log/syslog

Tip

To access system log files within /var/log/, use the Generic Admin User.