Re: [users@httpd] Keeping multiple logs in central location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I run a very similar setup with 4 webservers.  I have a cron that rsyncs the logs over from each of the 4 servers to a central server, then runs logresolvemerg.pl against them and makes one big log file, which is then fed into AWStats.  Works well enough.

-Victor

On 5/18/06, Krist van Besien <krist.vanbesien@xxxxxxxxx> wrote:
On 5/16/06, Dan Trainor <dan@xxxxxxxxx> wrote:

> We've got quite a few webservers, on which we're comfortable using
> AWStats.  The server pool is part of a load balance cluster, and it's
> very difficult to generate statistics on the data as a whole - rather,
> we're generating statistics based on several different servers.
>
> What I guess I'm looking for here is a way to keep all my Apache logs in
> a central location, where I can run stats for the total of the pool.

AWStats can do this. I have a similar setup (six server behind a
loadbalancer) and I just copy the logfiles to one directory and then
use "logresolvemerge.pl" to merge them all in one file (and to resolve
the IP addresses in to host names). This I then feed to AWStats.

All this with a cronjob offcourse...

logresolvemerg.pl is part of awstats

Krist


--
krist.vanbesien@xxxxxxxxx
Solothurn, Switzerland

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
http://www.victortrac.com
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux