Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2005 22:29:40 -0600
From:      Eric F Crist <ecrist@secure-computing.net>
To:        Gadi Golan <ggolan@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache Log Rotation & Statistics
Message-ID:  <BDBFD6C6-651B-11D9-A36B-000D9333E43C@secure-computing.net>
In-Reply-To: <1534551b05011215032348e616@mail.gmail.com>
References:  <1534551b05011215032348e616@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-2-581845462
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Jan 12, 2005, at 5:03 PM, Gadi Golan wrote:

> Hi,
> What I am looking for here is some advice on what will be the best
> ways to acomplish what I have in mind.  What I hope to acomplish
> follows, so any thoughts on how to do it, or if it is complex or
> impossible would be very helpful.
>
> I have Apache 2.x running with a collection of virtual hosts, each
> logging to their own access.log file.  I want to offer log statistics
> to all of my virtual hosts on an individual basis.  I want them to be
> able to go to say log.theirdomain.com or www.theirdomain.com/log and
> be able to view the statistics for their site from day x, week y,
> month z, year k, whatever.  Ideally these logs will be stored
> compressed and in a directory specific to their virtual domain.
>
> I am sorry if I am not explaining this 100%, please feel free to ask
> me to clarify myself.
>
> Thanks much,
>
> Gadi Golan

I would recommend webalizer in the ports.  If you read through the 
documentation, you specify the logfile and destination of each run, so 
you could have multiple configurations and cron jobs to compute the 
stats for you.

Let me know if you have any more questions.  IIRC, you can see an 
example at www.webalizer.org.

HTH
_______________________________________________________
Eric F Crist                  "I am so smart, S.M.R.T!"
Secure Computing Networks              -Homer J Simpson

--Apple-Mail-2-581845462
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iEYEARECAAYFAkHl+TUACgkQRAAY9knOW+r5IACgj9LG5NXhVzaGwMzK6mnrEsW4
crEAnjiam0Bm6BiI2HYoWm6ihB+8G67n
=FZnR
-----END PGP SIGNATURE-----

--Apple-Mail-2-581845462--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BDBFD6C6-651B-11D9-A36B-000D9333E43C>