1. Download-Adresse: http://goaccess.io/
Installation
<code>yum <span>-y</span> install glib2 glib2<span>-devel</span> ncurses ncurses<span>-devel</span> GeoIP<span>*</span></code>
<code><span>.</span>/configure –enable<span>-geoip</span> –enable<span>-utf8</span>make <span>&&</span> make install </code>
1. Sehen Sie sich die Befehlszeile direkt an
2. Ausgabe in HTML<code>goaccess <span>-f</span> access<span>.</span><span>log</span><span>-c</span><span>-a</span></code>
Konfigurieren Sie die ~/.goaccessrc-Datei
Befehl generieren<code>color_scheme <span>0</span> date_format <span>%d</span>/<span>%b</span>/<span>%Y</span> log_format <span>%h</span><span>%^</span>[<span>%d</span>:<span>%^</span>] “<span>%r</span>” <span>%s</span><span>%b</span> “<span>%R</span>” “<span>%u</span>” <span>%T</span></code>
<code>goaccess <span>-f</span> /web/nginx/logs/access<span>.</span><span>log</span><span>-a</span><span>></span> report<span>.</span>html</code>