Changes between Version 2 and Version 3 of AwStatsInstall


Ignore:
Timestamp:
06/22/13 17:36:25 (3 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AwStatsInstall

    v2 v3  
    9999}}} 
    100100 
     101The awstats config files are in {{{/etc/awstats}}}, the example file was copied: 
     102 
     103{{{ 
     104cp /etc/awstats/awstats.conf /etc/awstats/awstats.www.transitionnetwork.org.conf 
     105}}} 
     106 
     107This variable was changed, the logs should be anonomised as they are read: 
     108 
     109{{{ 
     110LogFile="cat /home/puffin/nginx/puffin-nginx-%YYYY-0%MM-0%DD-0.log | /usr/local/bin/blurAddys.pl |" 
     111}}} 
     112 
     113The log format is defined in {{{/var/aegir/config/server_master/nginx.conf}}} on wiki:PuffinServer as follows: 
     114 
     115{{{ 
     116 ## Log Format 
     117  log_format        main '"$proxy_add_x_forwarded_for" $host [$time_local] ' 
     118                         '"$request" $status $body_bytes_sent ' 
     119                         '$request_length $bytes_sent "$http_referer" ' 
     120                         '"$http_user_agent" $request_time "$gzip_ratio"'; 
     121 
     122  client_body_temp_path  /var/lib/nginx/body 1 2; 
     123  access_log             /var/log/nginx/access.log main buffer=32k; 
     124  error_log              /var/log/nginx/error.log crit; 
     125}}} 
     126 
     127So this is how that is defined for awstats: 
     128 
     129{{{ 
     130LogFormat="%host %other %time1 %methodurl %code %bytesd %other %other %refererquot %uaquot %extra1 %gzipratio" 
     131}}} 
     132 
     133}}} 
     134 
     135 
     136 
     137