在OpenSolais上的安装与配置awstats
在OpenSolais上的安装与配置awstats 安装awstats # pkgin in awstats 安装GeoIP # pkgin in GeoIP 安装perl的GeoIP模块 # Geo::IP::PurePerl # wget http://geolite.maxmind.com/download/geoip/api/pureperl/Geo-IP-PurePerl-1.25.tar.gz # gtar zxf Geo-IP-PurePerl-1.25.tar.gz # cd Geo-IP-PurePerl-1.25 # perl Makefile.PL # make # make test # make install 下载GeoCity库 # wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz # gzip -d GeoLiteCity.dat.gz # mv GeoLiteCity.dat /opt/local/share/GeoIP/ 配置apache的虚拟主机 # cd /opt/local/etc/httpd/virtualhosts/ # vi blog.4aiur.net.conf ServerName […]
awstats分析windowsmedia日志格式的字段配置
awstats分析windowsmedia日志格式的字段配置 LogFormat=”c-ip date time c-dns cs-uri-stem c-starttime x-duration c-rate c-status c-playerid c-playerversion c-playerlanguage cs(User-Agent) cs(Referer) c-hostexe c-hostexever c-os c-osversion c-cpu filelength filesize avgbandwidth protocol transport audiocodec videocodec channelURL sc-bytes c-bytes s-pkts-sent c-pkts-received c-pkts-lost-client c-pkts-lost-net c-pkts-lost-cont-net c-resendreqs c-pkts-recovered-ECC c-pkts-recovered-resent c-buffercount c-totalbuffertime c-quality s-ip s-dns s-totalclients s-cpu-util cs-user-name s-session-id s-content-path cs-url cs-media-name c-max-bandwidth cs-media-role s-proxied”