Estadisticas de uso en apache
Para Instalar
1 2 3 4 5 6 7 8 |
yum install geoip-devel yum install ncurses-devel wget http://tar.goaccess.io/goaccess-1.1.1.tar.gz tar -xzvf goaccess-1.1.1.tar.gz cd goaccess-1.1.1 ./configure --enable-geoip --enable-utf8 make make install |
Configurar nano /usr/local/etc/goaccess.conf
1 2 3 |
time-format %H:%M:%S date-format %d/%b/%Y log-format %h %^[%d:%t %^] "%r" %s %b |
Para ejecutar
1 |
goaccess -f /var/log/httpd/access_log -a -o /var/www/html/reporte.html |
Para que haga informe de todos los log
1 |
cat /var/log/httpd/access_log* | goaccess -a -o /var/www/html/reporte.html |