Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






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

Parsing this and previous months data.

Reply to Post Add a New Topic
UserPost

3:51 pm
August 11, 2010


kre8web

New Member

posts 2

Hi, i have a stand alone installtion of awstats 6.95 on a cpanel server where the log files are backed up in the format…

 

domain.com-Jul-2010.gz

domain.com-Aug-2010.gz

 

If my understanding is correct, then i will need to combine these two logs in order to get accurate results, however i'm not certain on the format the LogFile entry should use for this. Would the following work?

LogFile="/pathtotools/logresolvemerge.pl /path/to/logs/*.gz |"

 

Thankyou in advance :)

4:25 pm
August 11, 2010


Jean-Luc

Admin

posts 1063

Hi,

Your LogFile directive is correct.

I must say that I do not understand what you mean by "accurate results" though.

7:45 pm
August 11, 2010


kre8web

New Member

posts 2

That's great thankyou!

 

I'm probably wrong about this but what i meant by "accurate results" was that if i'd used something like…

LogFile="/path/to/logs/domain.com-%MO-%YYYY"

then when the daily update is ran on the 1st of the month, it wouldn't be processing the log entries that have occured in the hours since the previous days update, as they would be in the previous months logs?

7:58 pm
August 11, 2010


Jean-Luc

Admin

posts 1063

You are absolutely right.Wink

Reply to Post

Reply to Topic:
Parsing this and previous months data.

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:
12 + 11
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
14 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 513
Posts: 2447

Membership:

There are 4127 Members
There have been 254 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

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

Recent New Members: eniko, leptserkhan, JohnnyB, dweb3d, buck, newtoawstat

Administrators: Jean-Luc (1063 Posts)

Moderators: Jean-Luc (1063 Posts)