{"id":3179,"date":"2012-12-22T16:27:00","date_gmt":"2012-12-22T15:27:00","guid":{"rendered":"http:\/\/www.bdjl.de\/localhost\/?p=3179"},"modified":"2012-12-22T16:27:00","modified_gmt":"2012-12-22T15:27:00","slug":"goaccess","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=3179","title":{"rendered":"GoAccess"},"content":{"rendered":"<p><a href=\"http:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2012\/12\/accesslogfiles.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3181\" alt=\"accesslogfiles\" src=\"http:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2012\/12\/accesslogfiles-640x389.png\" width=\"640\" height=\"389\" srcset=\"https:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2012\/12\/accesslogfiles-640x389.png 640w, https:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2012\/12\/accesslogfiles-1024x623.png 1024w, https:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2012\/12\/accesslogfiles-624x380.png 624w, https:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2012\/12\/accesslogfiles.png 1440w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Logfileanalyse frisst im Normalfall Systemressourcen &#8211; nicht viele, aber unn\u00f6tig viele, wenn man sich nicht wirklich f\u00fcr die Zugriffszahlen interessiert und nur alle paar Wochen einmal guckt. Dazu ein AwStats oder einen Webalizer zu betreiben ist overkill. Der Einsatz von PiWik ist praktisch, aber das Programm h\u00e4lt sich derartig brav an die Do Not Track Einstellungen, dass man nicht erf\u00e4hrt, wie viele Menschen einen wirklich besucht haben. Hier einmal im Vierteljahr vergleichen zu k\u00f6nnen ist sch\u00f6n.<\/p>\n<p>Praktisch ist ein Tool wie <a href=\"http:\/\/goaccess.prosoftcorp.com\/\" target=\"_blank\">GoAccess<\/a>, das man nur bei Bedarf einsetzt und das man gezielt auf ausgew\u00e4hlte Logfiles loslassen kann. Das jeweils aktuelle Apache Log holt man sich mit<\/p>\n<blockquote><p>goaccess -f access.log.1<\/p><\/blockquote>\n<p>in den Betrachter. Will man gz archivierte Archive betrachten, muss man diese zuerst auspacken &#8211; z.B. mit <em>zcat<\/em>. Wenn man sich schon die M\u00fche macht, dann kann gleich ein ganzer Monat zusammen ausgepackt und dann betrachtet werden. Dazu schaut man die Logs in ihrem Verzeichnis zuerst mit <em>ls -lat<\/em> an, um das Datum etwas einzugrenzen und erzeugt dann ein Gesamtdokument aus der Auswahl:<\/p>\n<blockquote><p>zcat access.log.[4-7].gz &gt;&gt; accesslogcombined ; goaccess -f accesslogcombined<\/p><\/blockquote>\n<p>Wenn man fertig ist, kann man die kombinierte Logdatei wieder l\u00f6schen.<\/p>\n<p>Neuere Versionen von goaccess &#8211; nicht jedoch die f\u00fcr Debian aus den Repos verf\u00fcgbaren Oldtimer &#8211; erlauben auch das Erstellen von HTML Reports. Sehr praktisch. Und viel h\u00fcbscher als eine nscurses Oberfl\u00e4che ist es auch.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Logfileanalyse frisst im Normalfall Systemressourcen &#8211; nicht viele, aber unn\u00f6tig viele, wenn man sich nicht wirklich f\u00fcr die Zugriffszahlen interessiert und nur alle paar Wochen einmal guckt. Dazu ein AwStats oder einen Webalizer zu betreiben ist overkill. Der Einsatz von PiWik ist praktisch, aber das Programm h\u00e4lt sich derartig brav an die Do Not Track [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,10],"tags":[340,342,341,343],"class_list":["post-3179","post","type-post","status-publish","format-standard","hentry","category-linux","category-schule","tag-apache","tag-goaccess","tag-ncurses","tag-statistik"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/3179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3179"}],"version-history":[{"count":5,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/3179\/revisions"}],"predecessor-version":[{"id":3186,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/3179\/revisions\/3186"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}