Re: chewing up apache logs

From: Date: Tue, 18 Sep 2001 15:04:21 +0000
Subject: Re: chewing up apache logs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67716@lists.php.net to get a copy of this message
> I've just changed ISPs, and my old ISP used webalizer to report > usuage/everything else stats about a website. The new ISP offers a > simular product for a cost, but it looks very clumsy and bloated. I had the same problem... I used to host my own and then had to switch to a hosting service with a log analyzer I didn't like. Being a fan of webalizer.. heres what I did. I wrote a perl script to download my raw log file to my local machine, process it with webalizer, and then upload the webalizer files to my server. The file is attached. Note that the code is set up to grab log data from .logs/data so you may have to change that and also it is set up to process 3 websites since I am runnning one main site and 2 virtual hosts. Just trim that stuff out. Hope that helps! -- ------------------------- Marc Swanson MSwanson Consulting Phone: (603)868-1721 Fax: (603)868-1730 Mobile: (603)512-1267 mswanson@mswanson.com http://www.mswanson.com -------------------------

Attachment: [application/x-perl] logger.pl
« previous php.general (#67716) next »