awstats 配置模板 参考

察看anywolfs的awstats 分析页面:http://www.anywolfs.com/liuhui/html/awstats/anywolfs%20awstats.html

虽然我在 awstats 在 IIS 下最详细的安装说明文已经详细的说明了配制方法,可是还是很多人来邮件问我,为什么他们培植不能成功呢,今天我把我的config文件拿下来给打下去参考,大家按照自己的实际情况进行小量修改:
引用内容 引用内容
# AWSTATS CONFIGURE FILE 6.6

LogFile="C:/awstats/wwwroot/log/ex%YY-24%MM-24%DD-24.log"
LogType=W
LogFormat=2
LogSeparator=" "
SiteDomain="www.anywolfs.com"
HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
DNSLookup=1
DirData="C:\awstats\wwwroot\logdata"
DirCgi="/cgi-bin"
DirIcons="icon"
AllowToUpdateStatsFromBrowser=0
AllowFullYearView=2



#-----------------------------------------------------------------------------
# OPTIONAL SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------

EnableLockForUpdate=0
DNSStaticCacheFile="dnscache.txt"
DNSLastUpdateCacheFile="dnscachelastupdate.txt"
SkipDNSLookupFor=""
AllowAccessFromWebToAuthenticatedUsersOnly=0
AllowAccessFromWebToFollowingAuthenticatedUsers=""
AllowAccessFromWebToFollowingIPAddresses=""
CreateDirDataIfNotExists=0
BuildHistoryFormat=text
BuildReportFormat=html
SaveDatabaseFilesWithPermissionsForEveryone=0
PurgeLogFile=0
ArchiveLogRecords=0
KeepBackupOfHistoricFiles=0
DefaultFile="index.html"
SkipHosts=""
SkipUserAgents=""
SkipFiles=""
SkipReferrersBlackList=""
OnlyHosts=""
OnlyUserAgents=""
OnlyFiles=""
NotPageList="css js class gif jpg jpeg png bmp ico swf"
ValidHTTPCodes="200 304"
ValidSMTPCodes="1 250"
AuthenticatedUsersNotCaseSensitive=0
URLNotCaseSensitive=0
URLWithAnchor=0
URLQuerySeparators="?;"
URLWithQuery=0
URLWithQueryWithOnlyFollowingParameters=""
URLWithQueryWithoutFollowingParameters=""
URLReferrerWithQuery=0
WarningMessages=1
ErrorMessages=""
DebugMessages=0
NbOfLinesForCorruptedLog=50
WrapperScript=""
DecodeUA=0
MiscTrackerUrl="/js/awstats_misc_tracker.js"



#-----------------------------------------------------------------------------
# OPTIONAL ACCURACY SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------
LevelForBrowsersDetection=2         # 0 disables Browsers detection.
                                    # 2 reduces AWStats speed by 2%
                                    # allphones reduces AWStats speed by 5%
LevelForOSDetection=2               # 0 disables OS detection.
                                    # 2 reduces AWStats speed by 3%
LevelForRefererAnalyze=2            # 0 disables origin detection.
                                    # 2 reduces AWStats speed by 14%
LevelForRobotsDetection=2           # 0 disables Robots detection.
                                    # 2 reduces AWStats speed by 2.5%
LevelForSearchEnginesDetection=2    # 0 disables Search engines detection.
                                    # 2 reduces AWStats speed by 9%
LevelForKeywordsDetection=2         # 0 disables Keyphrases/Keywords detection.
                                    # 2 reduces AWStats speed by 1%
LevelForFileTypesDetection=2        # 0 disables File types detection.
                                    # 2 reduces AWStats speed by 1%
LevelForWormsDetection=0            # 0 disables Worms detection.
                                    # 2 reduces AWStats speed by 15%



#-----------------------------------------------------------------------------
# OPTIONAL APPEARANCE SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------

UseFramesWhenCGI=1
DetailedReportsOnNewWindows=1
Expires=0
MaxRowsInHTMLOutput=1000
Lang="auto"
DirLang="./lang"
ShowMenu=1                    
ShowSummary=UVPHB
ShowMonthStats=UVPHB
ShowDaysOfMonthStats=VPHB
ShowDaysOfWeekStats=PHB
ShowHoursStats=PHB
ShowDomainsStats=PHB
ShowHostsStats=PHBL
ShowAuthenticatedUsers=0
ShowRobotsStats=HBL
ShowWormsStats=0
ShowEMailSenders=0
ShowEMailReceivers=0
ShowSessionsStats=1
ShowPagesStats=PBEX
ShowFileTypesStats=HB
ShowFileSizesStats=0        
ShowOSStats=1
ShowBrowsersStats=1
ShowScreenSizeStats=0
ShowOriginStats=PH
ShowKeyphrasesStats=1
ShowKeywordsStats=1
ShowMiscStats=a
ShowHTTPErrorsStats=1
ShowSMTPErrorsStats=0
ShowClusterStats=0
AddDataArrayShowHoursStats=1
IncludeInternalLinksInOriginSection=0

MaxNbOfDomain = 10
MinHitDomain  = 1

MaxNbOfHostsShown = 10
MinHitHost    = 1

MaxNbOfLoginShown = 10
MinHitLogin   = 1

MaxNbOfRobotShown = 10
MinHitRobot   = 1

MaxNbOfPageShown = 10
MinHitFile    = 1

MaxNbOfOsShown = 10
MinHitOs      = 1

MaxNbOfBrowsersShown = 10
MinHitBrowser = 1

MaxNbOfScreenSizesShown = 5
MinHitScreenSize = 1

MaxNbOfWindowSizesShown = 5
MinHitWindowSize = 1

MaxNbOfRefererShown = 10
MinHitRefer   = 1

MaxNbOfKeyphrasesShown = 10
MinHitKeyphrase = 1

MaxNbOfKeywordsShown = 10
MinHitKeyword = 1

MaxNbOfEMailsShown = 20
MinHitEMail   = 1

FirstDayOfWeek=1
ShowFlagLinks=""
ShowLinksOnUrl=1
UseHTTPSLinkForUrl=""
MaxLengthOfShownURL=64
HTMLHeadSection=""
HTMLEndSection=""
Logo="awstats_logo6.png"
LogoLink="http://awstats.sourceforge.net"
BarWidth   = 260
BarHeight  = 90
StyleSheet=""

color_Background="FFFFFF"        # Background color for main page (Default = "FFFFFF")
color_TableBGTitle="CCCCDD"        # Background color for table title (Default = "CCCCDD")
color_TableTitle="000000"        # Table title font color (Default = "000000")
color_TableBG="CCCCDD"            # Background color for table (Default = "CCCCDD")
color_TableRowTitle="FFFFFF"    # Table row title font color (Default = "FFFFFF")
color_TableBGRowTitle="ECECEC"    # Background color for row title (Default = "ECECEC")
color_TableBorder="ECECEC"        # Table border color (Default = "ECECEC")
color_text="000000"                # Color of text (Default = "000000")
color_textpercent="606060"        # Color of text for percent values (Default = "606060")
color_titletext="000000"        # Color of text title within colored Title Rows (Default = "000000")
color_weekend="EAEAEA"            # Color for week-end days (Default = "EAEAEA")
color_link="0011BB"                # Color of HTML links (Default = "0011BB")
color_hover="605040"            # Color of HTML on-mouseover links (Default = "605040")
color_u="FFAA66"                # Background color for number of unique visitors (Default = "FFAA66")
color_v="F4F090"                # Background color for number of visites (Default = "F4F090")
color_p="4477DD"                # Background color for number of pages (Default = "4477DD")
color_h="66DDEE"                # Background color for number of hits (Default = "66DDEE")
color_k="2EA495"                # Background color for number of bytes (Default = "2EA495")
color_s="8888DD"                # Background color for number of search (Default = "8888DD")
color_e="CEC2E8"                # Background color for number of entry pages (Default = "CEC2E8")
color_x="C1B2E2"                # Background color for number of exit pages (Default = "C1B2E2")



#-----------------------------------------------------------------------------
# PLUGINS 插件
#-----------------------------------------------------------------------------
LoadPlugin="tooltips"
LoadPlugin="hashfiles"
LoadPlugin="geoip GEOIP_STANDARD C:\awstats\wwwroot\cgi-bin\plugins\geo\IP\GeoIP.dat"
LoadPlugin="qqhostinfo"


#-----------------------------------------------------------------------------
# EXTRA SECTIONS 扩展部分
#-----------------------------------------------------------------------------

ExtraSectionName1="Google crawls - Top 50"
ExtraSectionCodeFilter1="200 304"
ExtraSectionCondition1="UA,(.*Googlebot.*)"
ExtraSectionFirstColumnValues1="URL,(.*)"
ExtraSectionFirstColumnFormat1="<a href='%s' title='Item Crawled' target='_blank'>%s</a>"
ExtraSectionStatTypes1=PHBL
ExtraSectionAddAverageRow1=0
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=50
MinHitExtra1=1

ExtraSectionName2="Baidu crawls - Top 50"
ExtraSectionCodeFilter2="200 304"
ExtraSectionCondition2="UA,(.*Baiduspider.*)"
ExtraSectionFirstColumnValues2="URL,(.*)"
ExtraSectionFirstColumnFormat2="<a href='%s' title='Item Crawled' target='_blank'>%s</a>"
ExtraSectionStatTypes2=PHBL
ExtraSectionAddAverageRow2=0
ExtraSectionAddSumRow2=3
MaxNbOfExtra2=50
MinHitExtra2=1

ExtraSectionName3="Yahoo Slurp crawls - Top 50"
ExtraSectionCodeFilter3="200 304"
ExtraSectionCondition3="UA,(.*Slurp.*)"
ExtraSectionFirstColumnValues3="URL,(.*)"
ExtraSectionFirstColumnFormat3="<a href='%s' title='Item Crawled' target='_blank'>%s</a>"
ExtraSectionStatTypes3=PHBL
ExtraSectionAddAverageRow3=0
ExtraSectionAddSumRow3=3
MaxNbOfExtra3=50
MinHitExtra3=1

ExtraSectionName4="MSN crawls - Top 50"
ExtraSectionCodeFilter4="200 304"
ExtraSectionCondition4="UA,(.*msnbot.*)"
ExtraSectionFirstColumnValues4="URL,(.*)"
ExtraSectionFirstColumnFormat4="<a href='%s' title='Item Crawled' target='_blank'>%s</a>"
ExtraSectionStatTypes4=PHBL
ExtraSectionAddAverageRow4=0
ExtraSectionAddSumRow4=4
MaxNbOfExtra4=50
MinHitExtra4=1

ExtraSectionName5="Sohu crawls - Top 50"
ExtraSectionCodeFilter5="200 304"
ExtraSectionCondition5="UA,(.*sogou.*)"
ExtraSectionFirstColumnValues5="URL,(.*)"
ExtraSectionFirstColumnFormat5="<a href='%s' title='Item Crawled' target='_blank'>%s</a>"
ExtraSectionStatTypes5=PHBL
ExtraSectionAddAverageRow5=0
ExtraSectionAddSumRow5=5
MaxNbOfExtra5=50
MinHitExtra5=1

ExtraSectionName6="sitemap.xml downloads by Useragent"
ExtraSectionCodeFilter6="200 304"
ExtraSectionCondition6="URL,(^\/sitemap\.xml)"
ExtraSectionFirstColumnTitle6="UA"
ExtraSectionFirstColumnValues6="UA,(.*)"
ExtraSectionStatTypes6=HBL
ExtraSectionAddAverageRow6=0
ExtraSectionAddSumRow6=1
MaxNbOfExtra6=6
MinHitExtra13=1

ExtraSectionName7="Top 30 RSS Readers/Spiders"
ExtraSectionCodeFilter7="200 304"
ExtraSectionCondition7="URL,\.xml|\.rdf|\.rss|\.asp"
ExtraSectionFirstColumnTitle7="RSS Reader/Spider"
ExtraSectionFirstColumnValues7="UA,(.*)"
ExtraSectionStatTypes7=HBL
ExtraSectionAddAverageRow7=1
ExtraSectionAddSumRow7=7
MaxNbOfExtra7=30
MinHitExtra7=1





ExtraTrackedRowsLimit=20000



#-----------------------------------------------------------------------------
# INCLUDES
#-----------------------------------------------------------------------------

#Include ""



自己修改以下参数:
LogFile=
SiteDomain=
LogFormat=
HostAliases=
DirData=
DirIcons=
DNSLookup=



自己修改
GeoIP.dat 的物理路径

插件LoadPlugin="qqhostinfo" 的安装参考


AWStats:示来访者位置 QQ纯真库IP解析插件安装:qqhostinfo
http://www.anywolfs.com/liuhui/article.asp?id=289

GeoIP 的安装参考
AWStats简介:Apache/IIS的日志分析工具
http://www.chedong.com/tech/awstats.html
http://www.antezeta.com/awstats/geoip.html


扩展的安装参考:
给AWStats增加针对Googlebot/Baiduspider/Yahoo!Slurp/MSNBot的详细统
http://www.chedong.com/blog/archives/001200.html
http://www.anywolfs.com/liuhui/html/awstats/awstats_cn.htm
http://www.antezeta.com/awstats.html
http://awstats.sourceforge.net/docs/awstats_extra.html

相关文档
awstats 日志分析模板样例
http://www.anywolfs.com/liuhui/html/awstats/anywolfs%20awstats.html

awstats日志批量统计工具(统计多天日志)
http://www.anywolfs.com/liuhui/article.asp?id=321

awstats 扩展设置 中文参考
http://www.anywolfs.com/liuhui/html/awstats/awstats_cn.htm

访问 awstats 网页提示错误代码:http 403.1
http://www.anywolfs.com/liuhui/article.asp?id=305

awstats 在 IIS 下最详细的安装说明文档:
http://www.anywolfs.com/liuhui/article.asp?id=180

awstats 日志分析工具包的简要中文说明:
http://www.anywolfs.com/liuhui/article.asp?id=242

awstats 日志分析工具在多域名(站点)服务器下的应用:
http://www.anywolfs.com/liuhui/article.asp?id=288

AWStats:示来访者位置 QQ纯真库IP解析插件安装:qqhostinfo
http://www.anywolfs.com/liuhui/article.asp?id=289


[本日志由 jothui 于 2007-10-29 10:09 AM 编辑]
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: 日志分析 日志统计 awstats 流量分析
相关日志:
评论: 0 | 引用: 0 | 查看次数: 4897
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 10000 字 | UBB代码 开启 | [img]标签 关闭