bmcpanel

Well-Known Member
Jun 1, 2002
546
0
316
Is their a way to update Webalizer stats for a single domain on the Cpanel server?

thanks.
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
bmcpanel said:
Is their a way to update Webalizer stats for a single domain on the Cpanel server?
cd /home/USER/tmp/webalizer/
/usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/USER_DOMAIN -n USER_DOMAIN
 

bmcpanel

Well-Known Member
Jun 1, 2002
546
0
316
AndyReed said:
cd /home/USER/tmp/webalizer/
/usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/USER_DOMAIN -n USER_DOMAIN
Thanks. I'll give that a go.
 
H

helpline

Guest
But it deletes old stats :-(

How can update stats preserving old stats.
 
H

helpline

Guest
I managed to make it work preserving old stats.

Below are set of commands:

cd /home/USER/tmp/
cp -af webalizer webalizer.old
cp -af webalizerftp webalizerftp.old
cd webalizer
/usr/local/cpanel/3rdparty/bin/webalizer /usr/local/apache/domlogs/domainname -n domainname
 

itzmiko

Registered
May 3, 2007
4
0
151
use the -p option with the webalizer script to preserve older data.

Usage: ./webalizer [options] [log file]
-h = print this help message
-v -V = print version information
-d = print additional debug info
-F type = Log type. type= (clf | ftp | squid)
-f = Fold sequence errors
-i = ignore history file
-p = preserve state (incremental)
-q = supress informational messages
-Q = supress _ALL_ messages
-Y = supress country graph
-G = supress hourly graph
-H = supress hourly stats
-L = supress color coded graph legends
-l num = use num background lines on graph
-m num = Visit timout value (seconds)
-T = print timing information
-c file = use configuration file 'file'
-n name = hostname to use
-o dir = output directory to use
-t name = report title 'name'
-a name = hide user agent 'name'
-r name = hide referrer 'name'
-s name = hide site 'name'
-u name = hide URL 'name'
-x name = Use filename extension 'name'
-P name = Page type extension 'name'
-I name = Index alias 'name'
-A num = Display num top agents
-C num = Display num top countries
-R num = Display num top referrers
-S num = Display num top sites
-U num = Display num top URLs
-e num = Display num top Entry Pages
-E num = Display num top Exit Pages
-g num = Group Domains to 'num' levels
-X = Hide individual sites
-D name = Use DNS Cache file 'name'
-N num = Number of DNS processes (0=disable)
 
Last edited: