Datareign

These entries specify the variables that are especially relevant when altering the behaviour of AWStats.

@field

Array that holds the values stripped from a line in the source log file. The elements in the array depend on the format supplied in the configuration file. Format code 4, results in the following index variables being set…

Name           Value  Description
-------------  -----  ---------------------------------------------
$pos_host        0    IP address of host
$pos_logname     1    The user's log-in name
$pos_date        2    Date in format ''
$pos_method      3    ??????
$pos_url         4    URL field in the @field array.
$pos_code        5    HTTP result code 
$pos_size        6    Number of bytes transferred

@fieldlib

Array holding the description of the contents of @field. Again, using preset format '4' as an example, we get the following default layout…

Index  Value
-----  -----------------------------
  0    'host'
  1    'logname'
  2    'date'
  3    'method'
  4    'url'
  5    'code'
  6    'size'
Last modified: 2009/01/03 19:16