Aus crazylinux.de
Zur Navigation springen Zur Suche springen

1 AWStats

AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers.


1.1 AWStats Totals

AWStats Totals is a simple php script to view the AWStats totals (Unique visitors, Number of visits, Pages, Hits and Bandwidth) of multiple sites. The page has a month selection input form and you can sort on each column. It also includes a php wrapper script.


1.2 AWSTATS Multiple Site Statistics Viewer

PHP addon for AWSTATS to allow viewing of statistics for multiple domains on a single dynamic page


1.3 BetterAWstats

BetterAWstats is made to provide better statistics out of the data AWstats provides. It is not a replacment of AWstats. It is using all data and language ressources from AWstats, so the same translations and general features are always available also in BetterAWstats, additional features are beeing developed, but limited by the data provided through AWstats.


1.4 Links

generate an extra section that will report the traffic per HostHeader: http://awstats.sourceforge.net/docs/awstats_extra.html#domainaliases

2 Webalizer

Wir verwenden webalizer. Pro Web gibt es ein conf-file, z.b. /home/www/_server/stats/xxx.conf. Als Vorlage wurde /etc/webalizer.conf (gelöscht) genommen. Anzupassen sind diese Parameter:

LogFile         /home/www/xxx/logs/access.log.2005.11.01
OutputDir       /home/www/xxx/htdocs/admin/webalizer
Incremental     yes
HostName        xxx
Quiet           yes
HTMLExtension  php
HTMLPre <? include ". ./. ./inc/header.php" ?>
HTMLEnd <? include ". ./. ./inc/footer.php" ?>

Da wir allerdings die Logs rotieren lassen, bzw. der Name das Datum enthält, kann webalizer nicht automatisch alle logs erfassen. Dazu ist eine kleine Schleife notwendig in /home/www/_server/bin/webalizer.sh (dank an http://www.webmaster-homepage.de/forum/ftopic799.html):

for i in $(ls /home/www/xxx/logs/access.log*); do
       /usr/bin/webalizer -c /home/www/_server/stats/xxx.conf $i

für jedes Web gibt es einen eigenen for-Abschnitt. Nun kommt noch der cronjob und fertig sind die statistiken

30      05      *       *       *       /home/www/_server/bin/webalizer.sh