Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Stats lost on days when no manual update is applied

Reply to Post Add a New Topic
UserPost

1:09 am
November 30, 2008


2ndmouse

Member

posts 3

Hi all

I have seen similar problem logged in aws forums but never a solution?

I have aws set up so that manual update can be used (customer prefers this method). They recently neglected to update for a period of 7 days. When they next updated, the stats appeared for the day the update was made, but not for the previous 7-day period which all appear as zero.

The site would normally have 200-300 visits per day, so they know that zero is not correct.

The log files are all present but aws refuses to show the data.

My question is: How does my customer re-establish stats for the missing days?

Thanks in advance

3:23 am
November 30, 2008


Jean-Luc

Admin

posts 1125

Hi,

You wrote: "I have aws set up so that manual update can be used (customer prefers this method). "

I understand that some customers want to be able to manually update the stats, but this does not mean that you should not use automatic updates. No doubt that the stats should be automatically updated every day. Even so, you can allow customers to manually update when they want kind of real time stats.

Now about your question: "How does my customer re-establish stats for the missing days? "

This can be done, but this will be time consuming, because AWStats cannot update the missing days while newer data are already in its database files. So you will have to re-run all the updates for the months with missing days after you have temporarily moved the existing AWStats database files to another directory (to make AWStats believe no newer data is in the database). This requires that the log files for all the passed days of the month are still available.

If you have a different log file for each day, you will have to run these updates specifying the exact file to use for each update. This can be done in the command line with the -LogFile=…  option.

This special update process is obviously too complicated for many webmasters. That is why one should not rely on webmasters cllicking daily on the "update now" button.

If you wish, we can also connect to your site to help you update all your clients stats for the missing days for a small fee. Send me a private message if you are interested.

3:50 am
November 30, 2008


2ndmouse

Member

posts 3

Hi Jean-Luc

Thanks for your speedy response.

I will try your suggestion.

Please provide an example command line which includes 'LogFile=…'

*******************************************

I found the following at sourceforge FAQ – is this relevant to my question?

Quote:

FAQ-COM500 : HOW CAN I RESET ALL MY STATISTICS ?
PROBLEM:
I want to reset all my statistics to restart the update process from the beginning.
SOLUTION:
All analyzed data are stored by AWStats in history files called awstatsMMYYYY.[config.]txt (one file each month). You will find those files in directory defined by DirData parameter (same directory than awstats.pl by default).
To reset all your statistics, just delete all files awstatsMMYYYY.txt
To reset all your statistics built for a particular config file, just delete all files awstatsMMYYYY.myconfig.txt
Warning, if you delete those data files, you won't be able to recover your stats back, unless you kept old log files somewhere. You will have to process all past log files (in chronological order) to get your statistics back.

:UNQUOTE

Thanks again

5:15 am
November 30, 2008


Jean-Luc

Admin

posts 1125

Here is an example of a command line including -LogFile  :

perl awstats.pl -config=my_site -update -LogFile=/path_to_log/log_file_name.txt

FAQ-COM500 is related to your question, but I hope that you do not need to run the stats updates again for all months. Just re-run the updates for the months with missing days.

5:47 am
November 30, 2008


2ndmouse

Member

posts 3

Excellent – I have restored the missing stats – customer happy

Will now set up auto-update to avoid this probelm in the future.

Many thanks for your help Jean-Luc

Reply to Post

Reply to Topic:
Stats lost on days when no manual update is applied

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
1 + 1
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
14 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)