Calamaris Logfile Analyzer: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 6: | Zeile 6: | ||
=Installation= | =Installation= | ||
*apt install calamaris | *apt install calamaris | ||
| − | *apt install libgd-graph-perl # | + | *apt install libgd-graph-perl #für graphische Auswertungen |
=Anwendung= | =Anwendung= | ||
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/