Posts Tagged ‘How to regenerate AW Stats’

This article is very useful to regenerate the AWstats.

To regenerate the stats. The AW stat logs needs to be created with the help of  IIS logs. Follow the steps to recreate the stats.

Have a check whether Perl is installed and go to the AW stats path and run the command in the path “C:\Program Files\HSphere\3rdparty\AWStats>”

awstats.pl -config=ireferplumbers.co -update -logfile=”E:\hslogfiles\W3SVC641\ex091217.log”

run below command to update the stats in AW stats path.

awstats.pl -config=ireferplumbers.com -update

Script to run the log file in AWStats:

red.bat:
———-

“C:\Program Files\HSphere\3rdparty\AWStats\awstats.pl” -config=ireferplumbers.com -update -logfile=”E:\hslogfiles\W3SVC641\%1″

Test.bat:
———–

for /f %%a IN (‘dir /b “E:\hslogfiles\W3SVC641″‘) do call “C:\Program Files\HSphere\3rdparty\AWStats\red.bat” %%a