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

Generating report for older month

Reply to Post Add a New Topic
UserPost

6:25 pm
May 27, 2009


cssfsu

Member

posts 55

How do i run update process on a log file to generate the db file (the *.txt) for an older month like april ?

I know, once I have that file. I can run the awstats_buildstaticpages tool for april to generate the html..

1:15 am
May 28, 2009


Jean-Luc

Admin

posts 1125

Hi,

The point is that you cannot generate an AWStats database file, if the database already contains information about a later date.

The easiest way to work around this problem is to move all database files to a temporary directory before you run the update for the older month (say April 2009). When the update is finished, you can move all database files (except the one of April 2009 if it already existed) back to their original directory.

2:11 pm
May 28, 2009


cssfsu

Member

posts 55

Hi Jean

So how do I run the update for the older month ?

${BASE_DIR}/wwwroot/cgi-bin/awstats.pl -config=${SITE} -update 2>&1

2:28 pm
May 28, 2009


Jean-Luc

Admin

posts 1125

If you have just one log file for April, add the logfile  option as follows:

-logfile=/path_to/april_2009.log

where /path_to/april_2009.log is the path to the April log file.

If you have several log files for April, process them one at a time with the same kind of command as suggested above, starting with the oldest file, or use logresolvemerge  as explained in the AWStats documentation.

7:14 pm
May 28, 2009


cssfsu

Member

posts 55

Thanks Jean, that worked swell..

1 more question if u can help- I am on awstats version 6.8 right now.. I saw at a few places where awstats was able to generate an extra field called filter for say the Pages URL page.. where one could filter by domain..

Is this a new feature in 6.9 or is it a part of any plugin that i may need?

thanks again

11:58 pm
May 28, 2009


Jean-Luc

Admin

posts 1125

I am not sure what you are talking about.

You have Filter  and Exclude filter in the Pages-URL   section of the report. This is not new, but it cannot be used to filter domains in usual AWStats configurations.

You can use SiteDomain  and HostAliases  to filter by domain if there is a domain field in the log file. This is not new either. It applies to the complete AWStats report, not only to the Pages-URL  section. How it works is described in awstats.model.conf .

Reply to Post

Reply to Topic:
Generating report for older month

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


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
9 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)