Calamaris Logfile Analyzer
Version vom 14. November 2019, 14:33 Uhr von Tina.messmann (Diskussion | Beiträge)
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 es erfordern, dass die betroffenen Personen informiert werden.
Installation
- apt-get install calamaris
- apt-get install libgd-graph-perl #fuer graphische Auswertungen
Anwendung
- Kommandozeilenparameter 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 Graphik
- cat /var/log/squid/access.log | calamaris --all-useful-reports --hostname "examplehost" --output-format html,graph --image-type png --output-path /path/to/directory/