Goaccess (Debian): Unterschied zwischen den Versionen

Aus MattWiki
Keine Bearbeitungszusammenfassung
 
Zeile 30: Zeile 30:
== HTML-Datei erstellen ==
== HTML-Datei erstellen ==
  zcat -f /var/log/apache2/access.log* | goaccess -a -o report.html
  zcat -f /var/log/apache2/access.log* | goaccess -a -o report.html
[[Category:Debian]]
 
[[Category:Linux]]
 
[[Category:Linux]]

Aktuelle Version vom 2. September 2017, 16:32 Uhr

Goaccess ist eine Live-Analyse-Software für Webserver-Logdateien. Ausgabe ist möglich in:

  • Konsolenanwendung
  • HTML
  • JSON

Webseite: https://goaccess.io/

Installation

Kompilieren aus der Source

apt-get install make libncursesw5-dev libgeoip-dev 

cd /opt
wget http://tar.goaccess.io/goaccess-0.9.8.tar.gz
tar -xzvf goaccess-0.9.8.tar.gz
cd goaccess-0.9.8/
./configure --enable-geoip --enable-utf8
make
make install

Installieren aus Debian-Source

Paketrepositories für Debian und Ubuntu:

https://goaccess.io/download#distro


Konsolenanwendung starten

zcat -f /var/log/apache2/access.log* | goaccess -a 

HTML-Datei erstellen

zcat -f /var/log/apache2/access.log* | goaccess -a -o report.html