Log File Analysis


I have just moved web hosting companies and have an issue with stats. I have a reseller account with no stats for an individual domain. In other words, a client cannot login and view their web sites stats without logging into my main reseller account (not going to happen). In my main reseller account I can view stats on all the domains in my account. The log file contains the logs of all web sites in my account.

Is there a way of analysing the logs for a particular web site. An example line in the logfile is shown below (The domain is shown after the filesize and before the url). - - [09/Apr/2005:11:01:02 +0200] "GET /images/bullet.gif HTTP/1.1" 200 49 www.ac-multimedia.co.uk "http://www.ac-multimedia.co.uk" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)" "-"

This logfile contains data from all domains in my account. Please let me know if you have any questions or if I have not explained something well enough.

Andy Crathorne
Who is Participating?
periwinkleConnect With a Mentor Commented:
Sure - that's a common log file format.  There are many, many software packages that can be used to analyze the stats, including:




Usually, you can specify which domains are analyzed in the stats package.  Alternatively, you could write a perl script that would separate the log file into different files dependent upon the domain.
That will depend on how your host has your account setup, and how much control you have.

The best way to get individual stats, is to have each domain use it's own log file.
You'll more than likely have to contact your host to get this
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.