By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,204 Members | 1,360 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,204 IT Pros & Developers. It's quick & easy.

Apache log analyzer?

P: n/a
Is there such a thing out there anywhere?

I reckon it should be pretty simple to code a php application that *just*
read the httpd-log(s) from Apache, parsed these and presented simple stats
pages.
Believe, I've spent hours searching the net. But all of the systems I've
found seem to use a database (not neccesarily a bad thing, I suppose,
considering the amount of data).
But what's worse, they always do their *own* tracking (by means of inserted
codes or image tags), which means the stats start from scratch the day you
implement it (and you will have two systems logging a lot of the same info
which doesn't seem very useful).

Before I lose my patience and sit down and code the thing myself (yeah,
right!), do anyone here know of an alternative? The stats can be simple as
hell - just counting page hits by day, perhaps week and month, no more.

Thanks in advance,

--
Kim B.
http://kim.bonfils.com
Jul 17 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
*bonfils wrote:

Is there such a thing out there anywhere?


Yes, there is.....

http://www.webalizer.com/

--
Thomas
Jul 17 '05 #2

P: n/a
*** bonfils wrote/escribió (Wed, 10 Dec 2003 11:11:16 +0100):
But what's worse, they always do their *own* tracking (by means of inserted
codes or image tags), which means the stats start from scratch the day you
implement it (and you will have two systems logging a lot of the same info
which doesn't seem very useful).


Those programs are designed to provide with stats to those sites that don't
have access to web server logs. You are looking for a log analyzer like
webalizer, awstats or urchin (however, I believe none of this are coded in
PHP).

--
--
-- Álvaro G. Vicario - Burgos, Spain
--
Jul 17 '05 #3

P: n/a
On Wed, 10 Dec 2003 11:11:16 +0100, "bonfils"
<ki*@bonfils.your.underwear.com> wrote:
Is there such a thing out there anywhere?


http://www.analog.cx/

--
Regards, Paul Herber, Paul Herber Systems Ltd. http://www.pherber.com/
SanDriLa - SDL/MSC application for Visio
email address is spam-trapped - s/*@/paul@/
Jul 17 '05 #4

P: n/a

"bonfils" <ki*@bonfils.your.underwear.com> wrote in message
news:3f***********************@dread16.news.tele.d k...
Is there such a thing out there anywhere?

I reckon it should be pretty simple to code a php application that *just*
read the httpd-log(s) from Apache, parsed these and presented simple stats
pages.
Believe, I've spent hours searching the net. But all of the systems I've
found seem to use a database (not neccesarily a bad thing, I suppose,
considering the amount of data).
But what's worse, they always do their *own* tracking (by means of inserted codes or image tags), which means the stats start from scratch the day you
implement it (and you will have two systems logging a lot of the same info
which doesn't seem very useful).

Before I lose my patience and sit down and code the thing myself (yeah,
right!), do anyone here know of an alternative? The stats can be simple as
hell - just counting page hits by day, perhaps week and month, no more.

Thanks in advance,

--
Kim B.
http://kim.bonfils.com


I'm writing a real server stats analyser at the moment and will be porting
the code to deal with apache logs when it's done maybe a start for you if
nothing else - do you want a copy when done?

Chris
Jul 17 '05 #5

P: n/a

--

"Chris Dean" <me@[remove this]christopher-dean.fsnet.co.uk> wrote in message
news:br**********@ames.central.susx.ac.uk...

"bonfils" <ki*@bonfils.your.underwear.com> wrote in message
news:3f***********************@dread16.news.tele.d k...
Is there such a thing out there anywhere?

I reckon it should be pretty simple to code a php application that *just* read the httpd-log(s) from Apache, parsed these and presented simple stats pages.
Believe, I've spent hours searching the net. But all of the systems I've
found seem to use a database (not neccesarily a bad thing, I suppose,
considering the amount of data).
But what's worse, they always do their *own* tracking (by means of

inserted
codes or image tags), which means the stats start from scratch the day you implement it (and you will have two systems logging a lot of the same info which doesn't seem very useful).

Before I lose my patience and sit down and code the thing myself (yeah,
right!), do anyone here know of an alternative? The stats can be simple as hell - just counting page hits by day, perhaps week and month, no more.

Thanks in advance,

--
Kim B.
http://kim.bonfils.com


I'm writing a real server stats analyser at the moment and will be porting
the code to deal with apache logs when it's done maybe a start for you if
nothing else - do you want a copy when done?

Chris

By the way it'll probably not be done until xmas or just after - ideally
before 2nd week of jan tho

Chris

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ =+=+=+=+=

Chris Dean, Schools Outreach Project, Vega Science Trust
University of Sussex, Falmer, Brighton. East Sussex. BN1 9QJ. UK.

Tel.: +44 (0) 1273 87 72 93
Email: ka***@sussex.ac.uk
Web: www.vega.org.uk

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ =+=+=+=+=
Jul 17 '05 #6

P: n/a
Hello,

On 12/10/2003 08:11 AM, bonfils wrote:
Is there such a thing out there anywhere?

I reckon it should be pretty simple to code a php application that *just*
read the httpd-log(s) from Apache, parsed these and presented simple stats
pages.
Believe, I've spent hours searching the net. But all of the systems I've
found seem to use a database (not neccesarily a bad thing, I suppose,
considering the amount of data).
But what's worse, they always do their *own* tracking (by means of inserted
codes or image tags), which means the stats start from scratch the day you
implement it (and you will have two systems logging a lot of the same info
which doesn't seem very useful).

Before I lose my patience and sit down and code the thing myself (yeah,
right!), do anyone here know of an alternative? The stats can be simple as
hell - just counting page hits by day, perhaps week and month, no more.


You may want to take a look at this class. It is not really a log
analyzer but rather a base for one. What it does is to watch a given log
file.

You can ask it to retrieve the log lines to do your own analysis and
when the log is closed the class stores a sort of bookmark that
indicates the last line of the log that was analyzed.

Next time you run your log analysis script, the class is capable of
picking up where it stopped. This makes the class suitable for tasks
that are based on monitoring logs.

Currently, the class has builtin support to send the newly added log
lines to a given e-mail address. I developed this to be notified about
problems in the server that make the PHP code not work properly so I can
act promptly.

I have more applications for this class in mind like detecting users
causing excessive load in the server by using robots or some other
hacks. So, I will probably add support to parse log lines in common formats.

I think you can use it to make any kind log analisys that you want.

http://www.phpclasses.org/logwatcher

--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

Jul 17 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.