

MinHitExtraX is minimum number of hits required to be shown in chart.


MaxNbOfExtraX is maximum number of rows shown in chart. ExtraSectionAddSumRowX add a row at bottom of chart with sum values. ExtraSectionAddAverageRowX add a row at bottom of chart with average values.
#CGI BIN AWSTATS PL CODE#
You can use standard code letters (P for pages,H for hits,B for bandwidth,L for last access). ExtraSectionStatTypesX are things you want to count. ExtraSectionFirstColumnFormatX is the string used to write value. Be sure that list of different possible values will not grow indefinitely. Each different value found will appear in first column of report on a different row.
#CGI BIN AWSTATS PL HOW TO#
ExtraSectionFirstColumnValuesX is a string to tell AWStats which field to extract value from (URL,URLWITHQUERY,QUERY_STRING,REFERER,UA,HOSTINLOG,HOST,VHOST,extraX) and how to extract the value (using regex syntax). ExtraSectionFirstColumnTitleX is the first column title of the chart. ExtraSectionConditionX are conditions you can use to count or not the hit, Use one of the field condition (URL,URLWITHQUERY,QUERY_STRING,REFERER,UA,HOSTINLOG,HOST,VHOST,extraX) and a regex to match, after a coma. ExtraSectionCodeFilterX is list of codes the record code field must match. ExtraSectionNameX is title of your personalized chart. In most cases, you don't need this feature. WARNING: A wrong setup of Extra section might result in too large arrays that will consume all your memory, making AWStats unusable after several updates, so be sure to setup it correctly. Note: Each Extra section reduces AWStats speed by 8%. For several charts, duplicate section changing the number. Each set of parameter is a different chart.

For this, edit all parameters of Extra section. This feature is particularly useful for marketing purpose, tracking products orders for example. So it looks like this: - EXTRA SECTIONS - You can define your own charts, you choose here what are rows and columns keys. Ok, I commented out everything in this section and uncommented the variable, I've commented out the line (ExtraTrackedRowsLimit=500) and ran the command Setup ('./awstats.file, web server or permissions) mayĬheck config file, permissions and AWStats documentation (in 'docs' Want to track such a large data set, you can increase the limit by settingĮxtraTrackedRowsLimit in your awstats configuration file. Revising extract parameters for extra section 1. In order to prevent awstats from using an excessive amount of memory, the Phase 2 : Now process new records (Flush history on disk after 20000 hosts).Įrror: The number of values found for extra section 1 has grown too large. So searching new records from beginning of log file. Phase 1 : First bypass old records, searching new record.ĭirect access to last remembered record has fallen on another record. D:\AWStats\cgi-bin>perl -config=-updateĬreate/Update database for config "./įrom data in log file "C:\inetpub\logs\LogFiles\W3SVC2\u_ex101024.log".
