473,544 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Apache log analyzer?

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
6 10989
*bonfils wrote:

Is there such a thing out there anywhere?


Yes, there is.....

http://www.webalizer.com/

--
Thomas
Jul 17 '05 #2
*** 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
On Wed, 10 Dec 2003 11:11:16 +0100, "bonfils"
<ki*@bonfils.yo ur.underwear.co m> 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

"bonfils" <ki*@bonfils.yo ur.underwear.co m> wrote in message
news:3f******** *************** @dread16.news.t ele.dk...
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

--

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

"bonfils" <ki*@bonfils.yo ur.underwear.co m> wrote in message
news:3f******** *************** @dread16.news.t ele.dk...
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1504
by: joh12005 | last post by:
Hello, here is a trouble that i had, i would like to resolve it with python, even if i still have no clue on how to do it. i had many small "text" files, so to speed up processes on them, i used to copy them inside a huge one adding some king of xml separator : <file name="...">
5
7272
by: Warren Wright | last post by:
Hi group, I have a select statement that if run against a 1 million record database directly in query analyzer takes less than 1 second. However, if I execute the select statement in a stored procedure instead, calling the stored proc from query analyzer, then it takes 12-17 seconds. Here is what I execute in Query Analyzer when...
1
4067
by: Alex Cicco | last post by:
Hi, I am new to SQL. Please bear with me and allow me to ask a dumb question. I am debugging a stored procedure (written in Trans-SQL), and I found that the SQL analyzer that I use doesn't have a debugger. All I can do it is execute a block of code and see what is going on in an interaction seesion of the SQL analyzer. I would need to...
2
3086
by: Poster | last post by:
After creating an IN clause from a bunch of character strings created by a Word macro, Query Analyzer complains about a syntax error. The macro takes a column full of character strings and wraps apostrophes (single-quotes) around each string and adds a comma to the end of each line, ready to paste into a Query Analyzer session. The problem is...
3
2881
by: JM | last post by:
Good day. I was able to connect to a database server using SQL Server Enterprise Manager. The Server name specified on the tree is JOMARGON(Windows NT). But no server was detected using either Visual Studio .NET and SQL Server's query analyzer. I highlighted one database (master) on the SQL Server Enterprise Manager and chose 'SQL Query...
1
2299
by: justinjoylife | last post by:
Hi - I'm completely new to Microsoft Query Analyzer and I need to learn it for work to do data mining as a Product Manager. Does anyone have any recommendations on how to learn this and where? Which books? What classes? What links to online tutorials? thanks
1
5551
by: Chris Morse | last post by:
Does anyone know how to profile a VB.NET application? In the VS.NET 2003 docs, I found this: (BEGIN DOC COPY) "A code profiler is a software tool, implemented as a DLL, which is called by the runtime system during the execution of an image. The profiler receives notifications each time a function is entered or exited, as well as when...
14
2553
by: Kevin G. Anderson | last post by:
What: CAUG Meeting - QuickBooks IIF Files; Total Access Analyzer; CAUG Social When: Thursday, May 25, 2006, 6PM Who: Chris Monaghan and Kevin Anderson Where: The Information Management Group 200 W. Monroe St. Suite 900 Chicago, IL 60606 (312) 222-9400 Location: www.imginc.com/IMG/About+IMG/chicago.htm
0
2703
by: serdar | last post by:
Hi I'm designing a spectrum analyzer for a flash media player using the new computeSpectrum method in AS3. There are two basic types of visualizers I'm working on: -wave-type (displays a sound wave) -bar-type (displays frequencies) The bar-type analyzer uses the FFTMode parameter of computeSpectrum method. The problem is in the...
0
7420
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7602
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7764
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7368
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5904
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5291
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3404
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1837
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
657
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.