Missing stats


 

Current User: Guest Login Register
Please consider registering

Search Forums:


 






UserPost

6:07 pm
February 7, 2010


Eric

New Member

posts 2

I'm having a problem with AWStats processing my logs, it seems that

I'm missing data daily from the 23:00 hour, it counts some of the traffic

but not all of it.


Here's the logfile= I'm using:

/usr/local/awstats/tools/logresolvemerg
e.pl /weblogs/web01/access_log.%YYYY-0-
%MM-0-%DD-0.log /weblogs/web02/access_l
og.%YYYY-0-%MM-0-%DD-0.log

I run this hourly via cron /usr/local/awstats/tools/awstats_updateall.pl now

any ideas?

9:29 pm
February 7, 2010


Jean-Luc

Admin

posts 691

Hi,

When you update at, say 10:15 pm or 11:15 on February 6, AWStats reads the log file named access_log.2010-02-06.log . The next update is then at 00:15 am on February 7. At that time, AWStats will update from the log file named access_log.2010-02-07.log . We see here that AWStats never reads the lines added in the log file between 11:15 pm and midnight. Does this explain the problem you described ?

3:04 pm
February 8, 2010


Eric

New Member

posts 2

more specificly I run the cron job jourly at xx:59.  which is why I have the date specified to "-0″ for year, month and day.


3:32 pm
February 8, 2010


Jean-Luc

Admin

posts 691

This is too close to the hour. The system is probably evaluating the file names after midnight.

You could use a cron job running at xx:59 (with -0), 23 times a day and another cron job running at 00:10 (with -1).

Reply to Post


Reply to Topic:
Missing stats

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:
3 + 4
   



About the InternetOfficer.com forum

Most Users Ever Online:

65


Currently Online:

7 Guests

Forum Stats:

Groups: 2

Forums: 7

Topics: 318

Posts: 1562

Membership:

There are 165 Members

There have been 181 Guests

There is 1 Admin

There is 1 Moderator

Top Posters:

cssfsu – 31

albert_newton – 30

x-plicit2009 – 14

Steve – 14

flwg – 12

dumpuse – 10

Administrators: Jean-Luc (691 Posts)

Moderators: Jean-Luc (691 Posts)