Stats between two days


 

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




Stats between two days

Add a New Topic Reply to Post
UserPost

9:23 am
February 16, 2008


Rajan Singh

Guest

hi,

I want my AWstats report between 2 given days,
If any one have any solution regarding this please let me know.

bye

9:29 am
February 16, 2008


Jean-Luc

Admin

posts 220

Hi,

If you want separate stats for each day between two given days, follow the procedure explained under AWStats, stats by day.

If you want cumulated stats for the period between the two days, first copy all log files for the period in a separate directory. Then create a new AWStats config file and update the stats starting with the oldest log file (first given day) and ending with the newest (last given day). This will give the stats you want, if the two days are in the same month.

If the two days are from separate months, you will need to create a year report.

Jean-Luc

3:09 am
April 4, 2008


Hendra Effendi

Guest

Hi i have some questions. I tried to create a report which is reporting the traffic for the last 7 days.


I dont know how to check my awstats version but the awstats.pl is marked $Revision: 1.887


I got problem when the 7 days overlap within 2 months.


So for example. I want to generate the weekly report for 2 April. I will then retrieve the reports from 27 March until 7 april. Using logresolve.pl, I combine all of the logs into 1 single log file. Then I will run


'awstats_year.pl -DatabaseBreak=year config=localhost -update' on the 7 day combined log file ( in the awstats_year.pl i also set the databasebreak to year ). But the problem is everytime I set it to year, It will give me all 0 values in the report page).


I read in the documentation that databasebreak year is supported, but how come it is not working. Day and month value is working just fine.


any help is greatly appreciated


cheers


Hendra Effendi

3:43 am
April 4, 2008


Jean-Luc

Admin

posts 220

Hi,


Let me start with the easy question: “Revision: 1.887″ is version 6.6 (look at the bottom of your AWStats report).


Why did you change the name of the program in “awstats_year.pl” ? This is probably not needed. Was an AWStats database file for the year created ? What is its name ? Also how do you call the report: can you copy here what you type in the address bar of your browser ?


Sorry for answering with so many questions.

4:11 am
April 4, 2008


Hendra Effendi

Guest

Hi


thats was a very quick reply.


Probably i dont explain quite clearly. I will explain in more detail


Actually we customize the awstats.pl a quite bit Thats why we have several names. But i have also tried on the original awstats.pl and the result is similar, all zero and there is a 'never build/updated' on the top.


I also have checked and indeed it is version 6.6


So after i run the

'awstats_year.pl -DatabaseBreak=year config=localhost -update', a database file is actually created with the name 'awstats_year2008.localhost.txt'


Then i try to build the report using the command line :


awstats_year.pl config=localhost -month=%Nmonth% -year=%Year% -output -staticlinks > %REPORTS_PATH%\PAGE_VERTICAL_MONTHLY_%Year%%Nmonth%.html


Basically the report is created with alll zero and 'never build/update' label on the top. I tried omiting the month or year and both but still all zero


So i just start wondering whether the year probably not supported. Then i came across this article http://www.antezeta.com/awstats.html


on section 4.2.10.2 it is said

'yearly reports: do not yet seem to be supported. We tried

  • databasebreak=year&year=2005
    but got the message “Never updated (See 'Build/Update' on awstats_setup.html page)”. This is too bad, as the current yearly reporting is not able to recognize returning visitors across monthly boundaries. A yearly statistics file would change this to a yearly boundary problem.'

So i was thinking if this is actually the case or it is just me who have the wrong setting because the section above us mentioning running from cgi script and i am running it from command line ( windows )


thanks alot


cheers


Hendra Effendi

7:18 am
April 4, 2008


Jean-Luc

Admin

posts 220

I made some tests here with the same results as you get.Frown


Did you try to generate the two monthly reports for the week and then select the “month=all” option (that's the “year” option in the menu in the CGI reports) ? This “month=all” option works and I guess that it should give the result you are looking for.


12:42 am
April 9, 2008


Hendra Effendi

Guest

Hi


The 'month=all' is just working great. Thanks alot!!


But in this case it means that i cannot calculate the fraffic from within the last 1 week when the year changes is it ?


Hendra

2:21 am
April 9, 2008


Jean-Luc

Admin

posts 220

Hendra Effendi said:

But in this case it means that i cannot calculate the fraffic from within the last 1 week when the year changes is it ?


That's correct. And I don't know any workaround.

Add a New Topic Reply to Post


Reply to Topic: Stats between two days

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 5 + 2        (Required)

Topic Reply:


 

WebStats1


About the InternetOfficer.com forum

Currently Online:

3 Guests

Maximum Online: 20

Forums:

Groups: 2

Forums: 7

Topics: 104

Posts: 493

Members:

There are 26 members

There are 94 guests


Jean-Luc has made 220 posts

Top Posters:

Steve - 14

angelko - 4

cwei - 4

Kinglui - 3

vtroymck - 3

Administrator: Jean-Luc | Moderators: Jean-Luc


© Simple:Press Forum - Version 3.1.2 (Build 340)