Log File Analysis

Posted on 2005-04-09
Medium Priority
Last Modified: 2010-03-04

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
Question by:andycrathorne
LVL 14

Expert Comment

ID: 13744146
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
LVL 15

Accepted Solution

periwinkle earned 750 total points
ID: 13748069
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.

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month15 days, 17 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question