Log File Analysis

Posted on 2005-04-09
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 "" "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 13

    Expert Comment

    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

    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

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    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…
    In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now