Membership Membership:
Latest New User Latest: vpros
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 137

People Online People Online:
Visitors Visitors: 1
Members Members: 0
Total Total: 1

NakedMCSE Computer Tech Support Forums

So you have passed all of the exams and you are now out in the real world of windows servers, linux servers and freebsd servers faced with a tech support problem you have never seen before...

Find free online tech support in the forums below, respecting that advice is free, but work beyond advice is not...

The General forum is provided for off topic discussion.

You need a user account to post - please Register or Login.

Online Tech Support Forums
 
  Forum  Discussions  General  Rebuilding AWStats files from old logs
Previous Previous
 
Next Next
New Post 9/24/2009 4:20 PM
Informative
  Walker
119 posts
www.lairdscomputer.com
10th Level Poster


Rebuilding AWStats files from old logs 

 So you have a bunch of old logs and you want to put it all together into AWStats to put the historical data in.  Firstly you have to remove any existing AWStats monthly data files from the data directory as AWStats won't enter log information from the past.

Then you need to use a script like the one below to feed the logfiles back into AWStats and have it regenerate the monthly data files:

for %i in (D:\sites\www.fridaynightgaming.com\logs\W3SVC2008\*.log) do perl awstats.pl -config=fridaynightgaming -logfile=%i -update

Obviously change out the example logfile path above for your own.  This is the only way I know of how to import historical log data into AWstats.

Walker
Lairds Computer Services

 
Previous Previous
 
Next Next
  Forum  Discussions  General  Rebuilding AWStats files from old logs
Send me One Million FREE Guaranteed Visitors