From: eldy <>
Date: Fri, 13 Jun 2003 21:40:02 +0000 (+0000)
Subject: Updated documentation.
X-Git-Tag: AWSTATS_5_6_BETA~19
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23912ad1a0dcc5910aba666a615a37e427e6c1ec;p=thirdparty%2FAWStats.git
Updated documentation.
---
diff --git a/docs/awstats_changelog.txt b/docs/awstats_changelog.txt
index 3987b94e..f40118e1 100644
--- a/docs/awstats_changelog.txt
+++ b/docs/awstats_changelog.txt
@@ -18,8 +18,10 @@ New features/improvments:
- StyleSheet parameter works completely now and sample of CSS files are
provided.
- Add meta tags robots noindex,nofollow to avoid indexing of stats pages by
- robots.
-- Added count for "Add to favourites"
+ compliant robots.
+- Added count for "Add to favourites" (must remove the "robots.txt" and
+ "favicon.ico" entries off your SkipFiles parameter in your config file to
+ have this feature working.
Other/Documentation:
- Updated documentation.
diff --git a/docs/awstats_faq.html b/docs/awstats_faq.html
index 9d519ac3..c141ec4a 100644
--- a/docs/awstats_faq.html
+++ b/docs/awstats_faq.html
@@ -61,8 +61,9 @@ FAQ-COM250 Different results than other log analyze
FAQ-COM300 Difference between local hour and AWStats reported hour.
FAQ-COM350 How can I process old log file ?
FAQ-COM400 How can I update my statistics when I use a load balancing system that splits my logs ?
-FAQ-COM120 How can I reset all my statistics ?
-FAQ-COM130 Can I safely remove a line in AWStats history files (awstatsMMYYYY*.txt) ?
+FAQ-COM500 How can I reset all my statistics ?
+FAQ-COM600 How can I compile and build statistics on a daily basis only ?
+FAQ-COM700 Can I safely remove a line in AWStats history files (awstatsMMYYYY*.txt) ?
@@ -514,7 +515,7 @@ To use cronolog or rotatelog you must setup your web server log file name using
-FAQ-SET550 : HOW TO RUN AWSTATS FREQUENTLY
+FAQ-SET130 : HOW TO RUN AWSTATS FREQUENTLY
PROBLEM:
AWStats must be ran frequently to update statistics. How can I do this ?
SOLUTION:
@@ -666,14 +667,14 @@ the update (or use the -logfile option on command line to overwrite FAQ-COM120) and restart all the update processes
+your statistics (see FAQ-COM500) and restart all the update processes
for all past log files and in chronological order.
However, there is a "tip" that allow you to rebuild only the month were you missed data:
Imagine we are on 5th of July 2003, all your statistics are up to date except for the 10th of
April 2003 (you forgot to run the update process for this day, so there is no visit for this
day). You can :
- Reset the statistics for April only (this means remove the file awstats042003.[config.]txt
-as explained in FAQ-COM120),
+as explained in FAQ-COM500),
- Move the statistics history files for month after April (file awstats052003.[config.]txt,
awstats062003.[config.]txt,...) into a temp directory (so that it is no more in DirData
directory as if they were deleted).
@@ -697,7 +698,7 @@ the -logfile command line option to overwrite
-FAQ-COM120 : HOW CAN I RESET ALL MY STATISTICS ?
+FAQ-COM500 : HOW CAN I RESET ALL MY STATISTICS ?
PROBLEM:
I want to reset all my statistics to restart the update process from the beginning.
SOLUTION:
@@ -710,8 +711,29 @@ kept old log files somewhere. You will have to process all past log files (in ch
to get your statistics back.
+
+FAQ-COM600 : HOW CAN I COMPILE AND BUILD STATISTICS ON A DAILY BASIS ONLY ?
+PROBLEM:
+How can I compile and build statistics on a daily basis. I mean i want to have a full report
+with all charts with data for a particular day only and want one report for each day of month.
+SOLUTION:
+This is an non documented and not supported trick, as this is not the standard way of working:
+First, run the update process at midnight (or on a log file that was rotated at midnight so that
+it contains only data for this particular day (you can choose another hour in night if you want
+to have days that "start" at an different hour).
+Once the update process has been ran, MOVE (and not copy) the history file built by AWStats. For
+example on Unix like systems:
+mv mydirdata/awstatsMMYYYY.mydomain.txt mydirdate/awstatsDDMMYYYY.mydomain.txt
+Note that the name has been changed by adding the day. Repeat this each day after the update process.
+With this you will have one history file for each day. You can then see full stats for
+a particular day by adding the non documented parameter -day=DD on command line (with others
+like -month=MM and -year=YYYY). If ran from a browser you can also add &day=DD on URL.
+However, if you have full day by day statistics, you don't have anymore statistics for full month,
+except if you create a second config file that whose history files would not be moved.
+
+
-FAQ-COM130 : CAN I SAFELY REMOVE A LINE IN HISTORY FILES (awstatsMMYYYY*.txt) ?
+FAQ-COM700 : CAN I SAFELY REMOVE A LINE IN HISTORY FILES (awstatsMMYYYY*.txt) ?
PROBLEM:
After processing a log file I want to change my statistics
without running AWStats update process but changing directly data in AWStats historical database files.
@@ -1160,3 +1182,16 @@ So, you should edit your config file to add in the