View Full Version : Webalizer - Old logs
TurtleBay
09-29-2003, 09:08 AM
How do I get webalizer to import old logs that I have for sites that I have moved to DA?
Right now, webalizer only has stats from the date DA was installed. I have old logs for these sites.
Thanks,
John
DirectAdmin Support
09-29-2003, 10:14 AM
Hello,
You can copy your usage_*.html and *.png files into:
/home/username/domains/domain.com/stats
I'm not sure if webalizer actively looks in the directory to import the usage_*.html files, so you might need to add links to the usage_*.html file in the index.html.
John
TurtleBay
09-29-2003, 10:35 AM
I need webalizer to parse the old logs first...that's what I need help with...
John
TurtleBay
09-29-2003, 08:07 PM
What I'm wondering is - what is the command line I pass to webalizer to get it to use the same config DA makes it use?
John
jlasman
09-29-2003, 08:23 PM
When we moved our clients to our new DA server we simply gave them directories inside their sites with the old webalizer files in them.
Jeff
DirectAdmin Support
09-29-2003, 10:57 PM
Hello,
We use this:/usr/bin/webalizer -p -n domain.com -o /home/username/domains/domain.com/stats /var/log/httpd/domains/domain.com.log
John
switch
01-27-2008, 07:22 PM
When we moved our clients to our new DA server we simply gave them directories inside their sites with the old webalizer files in them.
Jeff
Hi Jeff, thanks for the (as usual) helpful post.
Just wanted to clear up exactly what you did:
- You took all the files in the old /stats directory (in the case of H-Sphere, from which I am migrating, it's in the /webalizer directory, but same difference)
- Then you just waited, and webalizer updated the stats normally with no problems?
Are there any considerations for permissions settings?
I was planning on putting the old stats in /webalizer-old/ and letting DA start when I moved the domain over, but obviously your way would be better.
Thanks!
jlasman
01-28-2008, 11:40 AM
I'm sorry my first post wasn't complete enough for you to understand that what you planned on doing is exactly what we do.
We never even tried to see if DirectAdmin's Webalizer would write to the old directories; perhaps you'll want to try it :).
Jeff
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.