Note that when a variable is defined both in a config file and in an included file, AWStats will use the last value read for parameters that contains one value and AWStats will concat all values from both files for parameters that are lists of values. This is particularly useful for users who have a lot of virtual servers, so a lot of config files and want to maintain common values in only one file. Example: 2000 Default: 500ĮxtraTrackedRowsLimit=500 - INCLUDES - You can include other config files using the directive with the name of the config file. If you know an ExtraSection will report more rows than its value, you should increase this parameter or AWStats will stop with an error. It applies to all ExtraSection independently meaning that none ExtraSection can report more rows than value defined byĮxtraTrackedRowsLimit. This parameter is here to protect too much memory use when you make a bad setup in your ExtraSection. Gi" ExtraSectionFirstColumnTitle1="Product ID" ExtraSectionFirstColumnValues1="QUERY_STRING,productid=( )" ExtraSectionFirstColumnFormat1="%s" ExtraSectionStatTypes1=PL ExtraSectionAddAverageRow1=0 ExtraSectionAddSumRow1=1 MaxNbOfExtra1=20 MinHitExtra1=1 There is also a global parameter ExtraTrackedRowsLimit that limits the number of possible rows an ExtraSection can report. Example to report the 20 products the most ordered by "order.cgi" script ExtraSectionName1="Product orders" ExtraSectionCodeFilter1="200 304" ExtraSectionCondition1="URL,\/cgi-bin\/order.cgi||URL,\/cgi-bin\/order2.c 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. 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. 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".
0 Comments
Leave a Reply. |