The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Consolidating Statistics

Discussion in 'General Discussion' started by peosteve, May 18, 2005.

  1. peosteve

    peosteve Member

    Joined:
    May 6, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,

    I run a number of sites on different domains and have access to WHM. I'm wondering if there is any script that I can use to let me view all my stats easily, instead of having to log into each one separately. Has anybody created a script that can do this (or is there any way that I don't know about that I should know about? :) )

    Thanks for any assistance you can give me.

    Steve
     
  2. peosteve

    peosteve Member

    Joined:
    May 6, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Does anybody have any insight on this issue? Perhaps there is a way to download all the raw access stats and view them on my PC? Does anybody have any ideas???
     
  3. djmerlyn

    djmerlyn Well-Known Member

    Joined:
    Aug 31, 2004
    Messages:
    203
    Likes Received:
    1
    Trophy Points:
    16
    Sure, download all your raw access logs, and open them up in any W3C compatable application (or CSV will work with a little tweaking)...maybe excell for the windows nerds.

    Then you can consolidate them if you want.

    Or you can search google for a script to do it.
     
  4. peosteve

    peosteve Member

    Joined:
    May 6, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the input, but I was hoping somebody would be able to suggest an alternate method that would reduce the amount of time it would take to get the stats. Having to download the access logs for each site would take just as long as checking awstats.

    Am I the only person that would find this feature useful, in WHM?
     
  5. RickG

    RickG Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    238
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    North Carolina
    Steve:

    Are you looking for:

    - a consolidated report reflecting activity from all sites
    - or the ability to easily switch between the reports ?

    The only way I can invision getting one combined report from all sites would be to edit the httpd.conf file and add a second CustomLog directive to each of your VirtualHost containers. The second CustomLog directive would all point to the same file. Once you have all the data in this one (potentially gargantuan) log file, you could then run a custom report off of it.

    Which log analyzer are you using (AWStats, Webalizer ...) ?

    Rick
     
  6. Jesepi

    Jesepi Member

    Joined:
    Sep 1, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    I've been trying to do this, but no luck =/

    logging into each site is annoying when i need to check traffic for each domain. I tried something in this thread: http://forums.cpanel.net/showthread.php?t=37736

    But I could never get it working, and remembering the login and password for every domain would get annoying. All of the multi-site viewing scripts require the logs to be stored in a single directory, I don't think this is the case with a cpanel setup.
     
  7. cemper

    cemper Member

    Joined:
    Mar 21, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Consolidating multiple AWSTATS reports

    hi,

    I've been research on ways to get the stats of 20 diff. domains into one view

    Until now I found 2 external tools

    AWSTATStotals at http://www.telartis.nl/xcms/awstats

    this is nice, but allows only ONE datadirectory, while cpanel stores its into each in separate directorys :-(


    MSSV - Multiple Site Statistics Viewer at http://www.jrcsnet.ca/awstats/

    unfortunately this one also only reads from one directory


    the Cpanel problem here is, that the AWSTATs data files are stored per user domain, hence all in different directories

    furthermore these files all have different permissions, so in a typical shared environment other users shall not be able to access the other users' data...

    I wonder if anyone has found a hack or other script for combining many awstats reports - either by installation as root or by externally scraping the result reports

    thanks, C.Cemper

    PS: cross-posted at my blog http://weblog.cemper.com
     
    #7 cemper, Dec 21, 2005
    Last edited: Dec 21, 2005
Loading...

Share This Page