peosteve

Member
May 6, 2004
6
0
151
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
 

peosteve

Member
May 6, 2004
6
0
151
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???
 

djmerlyn

Well-Known Member
Aug 31, 2004
201
1
168
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.
 

peosteve

Member
May 6, 2004
6
0
151
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?
 

RickG

Well-Known Member
Feb 28, 2005
238
2
168
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
 

Jesepi

Member
Sep 1, 2004
16
0
151
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.
 

cemper

Member
Mar 21, 2004
9
0
151
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
 
Last edited: