Calamaris Logfile Analyzer: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Tina.messmann (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Linkai.zhang (Diskussion | Beiträge)
 
(7 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
=Allgemein=
=Allgemein=
*Tool zum statistischen Auswerten von Proxy Logfiles. Unterstützt Squid, NetCache, Inktomi Traffic Server, Oops! proxy server, Novell Internet Caching System, Compaq Tasksmart, Cisco Content Engines oder Netscape/iPlanet/SunONE Web Proxy Server. Die Auswertung ist unter Umständen datenschutzrelevant und kann die vorherige Information der betroffenen Personen erfordern.
*Tool zum statistischen Auswerten von Proxy Logfiles.  
*Unterstützt Squid, NetCache, Inktomi Traffic Server, Oops! proxy server, Novell Internet Caching System, Compaq Tasksmart, Cisco Content Engines oder Netscape/iPlanet/SunONE Web Proxy Server.
*Die Auswertung ist unter Umständen datenschutzrelevant und es kann erforderlich sein, dass die betroffenen Personen informiert werden.
 
=Installation=
=Installation=
*apt-get install calamaris
*apt install calamaris
*apt-get install libgd-graph-perl #fuer graphische Auswertungen
*apt install libgd-graph-perl #für graphische Auswertungen
 
=Anwendung=
*Kommandozeilenparameter und/oder Konfiguration in Datei /etc/calamaris/calamaris.conf
 
=Standard Reports - Ausgabe in Datei=
=Standard Reports - Ausgabe in Datei=
*cat /var/log/squid/access.log | calamaris --all-useful-reports --output-path /path/to/directory/ --output-file filename.txt
*cat /var/log/squid/access.log | calamaris --all-useful-reports --output-path /path/to/directory/ --output-file filename.txt
=Senden Auswertungen an root=
=Senden Auswertungen an root=
*cat /var/log/squid/access.log | calamaris --all-useful-reports --hostname "examplehost" --output-format mail | mail root
*cat /var/log/squid/access.log | calamaris --all-useful-reports --hostname "examplehost" --output-format mail | mail root
=Auswertung als html mit Graphik=
=Auswertung als HTML mit Grafik=
*cat /var/log/squid/access.log | calamaris --all-useful-reports --hostname "examplehost" --output-format html,graph --image-type png --output-path /path/to/directory/
*cat /var/log/squid/access.log | calamaris --all-useful-reports --hostname "examplehost" --output-format html,graph --image-type png --output-path /path/to/directory/

Aktuelle Version vom 30. März 2023, 07:27 Uhr

Allgemein

  • Tool zum statistischen Auswerten von Proxy Logfiles.
  • Unterstützt Squid, NetCache, Inktomi Traffic Server, Oops! proxy server, Novell Internet Caching System, Compaq Tasksmart, Cisco Content Engines oder Netscape/iPlanet/SunONE Web Proxy Server.
  • Die Auswertung ist unter Umständen datenschutzrelevant und es kann erforderlich sein, dass die betroffenen Personen informiert werden.

Installation

  • apt install calamaris
  • apt install libgd-graph-perl #für graphische Auswertungen

Anwendung

  • Kommandozeilenparameter und/oder Konfiguration in Datei /etc/calamaris/calamaris.conf

Standard Reports - Ausgabe in Datei

  • cat /var/log/squid/access.log | calamaris --all-useful-reports --output-path /path/to/directory/ --output-file filename.txt

Senden Auswertungen an root

  • cat /var/log/squid/access.log | calamaris --all-useful-reports --hostname "examplehost" --output-format mail | mail root

Auswertung als HTML mit Grafik

  • cat /var/log/squid/access.log | calamaris --all-useful-reports --hostname "examplehost" --output-format html,graph --image-type png --output-path /path/to/directory/