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

How to get the statistics in a short period

Reply to Post Add a New Topic
UserPost

2:22 am
December 5, 2008


bsun

Member

posts 9

For example, I just want to see the result from Nov.27 to Dec.3 ? 
 
use the databasebreak option ?

2:43 am
December 5, 2008


Jean-Luc

Admin

posts 1125

The databasebreak=day  option will create a separate report for each day. This will not be a report for the period from November 27 till December 3.

You do not need to use databasebreak to get the report you want. You have to create a new AWStats config file (with a new name) and run the stats update only for the days of interests. This is easy if you have a different log file for each day. Then you have to enable full year reports in the AWStats config file with:

AllowFullYearView=3

After the updates have been done for all days of interest, select the full year report in the drop down menu at the top of the report. You get the report you are looking for.

3:59 am
December 5, 2008


bsun

Member

posts 9

How can I run the stats update only for the days of interests? If I want to get the data from Nov.30 to Dec.4, and I have the logfile of these days seperately,  

for example:

access_log.11.30

access_log.12.1

access_log 12.4

How can I write the command ? -logfile= ??

Thank you

4:35 am
December 5, 2008


Jean-Luc

Admin

posts 1125

That's correct. You need to use the  -LogFile=  option. You have to process the days in chronological order. Specify the complete path to the log file as in this example:

perl awstats.pl -config=site_name -LogFile=/path_to_logs/access_log.11.30 -update

3:08 am
December 6, 2008


bsun

Member

posts 9

But I want to get the statics result of 3 or 4 days in one result page, not only one single day, how can I do that?

3:57 am
December 6, 2008


Jean-Luc

Admin

posts 1125

You have to repeat the update command given above for every day you want to be included in the stats. Run the update command for November 30, then for December 1, then December 2, December 3 and finally December 4. You will get all days in the result pages for the "year".

1:27 am
December 8, 2008


bsun

Member

posts 9

thank you for your help.

I modified the configuration,and set 

AllowFullYearView=3

after I run the update command for November 30, then for December 1, then December 2, December 3 and finally December 4.

then I visit

http://10.241.2.203/awstats/awstats.pl?month=all&year=2008&output=main&config=www.xxxxx.cn

then I can't get the single days list.

Could you pls kindly help to fix, your patience is appreciated

1:41 am
December 8, 2008


bsun

Member

posts 9

when I chose Reported period: on the upper of the page

Never updated (See 'Build/Update' on awstats_setup.html page)

2:19 am
December 8, 2008


Jean-Luc

Admin

posts 1125

What values did you get at the end of each update :

Jumped lines in file: ***
Parsed lines in file: ***
Found *** dropped records,
Found *** corrupted records,
Found *** old records,
Found *** new qualified records.

12:04 am
December 9, 2008


bsun

Member

posts 9

I did get the data of the day:

 Found 0 dropped records,
 Found 64 corrupted records,
 Found 0 old records,
 Found 549630 new qualified records.

but when I switch to the year view, I saw nothing.

12:56 am
December 9, 2008


Jean-Luc

Admin

posts 1125

These values are good. Two potential reasons for the problem:

  • you do not use the same config name in the update and in the report
  • you used the -databasebreak=day  option in the update (you should not use it)
Reply to Post

Reply to Topic:
How to get the statistics in a short period

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 + 1
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

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