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

Missing stats

Reply to Post Add a New Topic
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 1125

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 1125

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:
2 + 7
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
18 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710

Membership:

There are 257 Members
There have been 304 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)