📄 sample~2.con
字号:
# $Id: sample.def.conf,v 1.11 2001/01/11 22:47:05 jk Exp $# ModLogAn default configuration file ## 1. Format:# - lines starting with '#' are comments# - empty lines are ignored# - every other line has consist of a key-value pair# - a key-value pair has to be seperated by an equal-sign '='## 2. Whitespaces:# - whitespaces at the end of key are ignored# - whitespaces at the end of value are ignored# - whitespaces at the beginning of value are ignored# example:# inputplugin=clf# and# inputplugin = clf # are the same.## 3. Regular Expressions:# every key that starts with# - hide# - group# - match# has support for pattern matching via regular expressions. ## 4. sections# the configfile is divided into four section:# -> global, input, output, processor# # the 'global'-section is special and has to be at the top if the config-file. # the other sections (input, output, processor) correnspond to the different# plugins. As every plugin has its own configfile options they have to be# seperated in the configfile# this achieved by appending a '_' and the plugin-name after the section# name.# e.g:# [global] -> global section# [input_clf] -> input section, only parsed und used if the clf input plugin # is selected# [input] -> section input (for backward compatibility), parsed by# every input plugin (deprecated)# global section[global]# input plugin (wuftpd, clf, null, msiis, hicom116, isdnlog, elmeg)inputplugin=clf# output plugin (modlogan, csv, webalizer, text, tkcontrol)outputplugin=modlogan# processor plugin (web,telecom)processorplugin=web# used output language (default: == env LC_ALL) [not used yet]#language=# where to put the generated files###outputdir=/tmp/www.kneschke.de/modlogan/# incremental mode (0 = off, 1 = semi, 2 = full)## If you are rotating your logfile more than once a month, the incremental ## processing feature will save you a lot of time.## modlogan saves the data of the last run in a file (modlogan.state). This## enables you to run modlogan everytime you rotated your logfiles. You## don't have to reparse the whole month.## ## 0: incremental mode off. the state file will be ignored and every record ## will be parsed## 1: semi-incremental mode on. if the first records of the parsed logfile## are older than the last timestamp from the state-file the records ## will be ignored## 2: full-incremental mode on. if the first records of the parsed logfile## are older than the last timestamp from the state-file the records ## will be counted, but their timestamps will be ignored##incremental=1# global debug level## ## 0: be quiet, only error messages and the greeting## 1: verbose, add some status messages## 2: add warning## >2: talk about everythingdebug_level=1[processor_web]# path to the searchengines description filesearchengines=modlogan.searchengines# timeout for a visit count (in seconds) (default = 1800)## - every hit from the same url that comes in within a specified timeframe## is counted as one visitsvisit_timeout=1800# debug options## searchengines## - every referrer the contains a '?' is checked if it matches one of the## strings in the searchengine-definition file. If no matching string is ## found this option enables the output of the checked referrer.## - this information can be used to improve the searchengine-definition## file. Read ./doc/adding-searchengines.txt for more information on this## topic## - valid values are 0,1,2 for the different output levels:## 0: quiet## 1: output urls which contain a matching searchkey, but no matching site ## (recommend for those who want a more accurate report)## 2: output urls which contain the '?' but didn't match a searchkey, toodebug_searchengines=0## visits## - to get a clue how a visit is setup this option enable the output of## every hit and how it corresponds to a visit## ## the following output is generated by this option:#> process.is_visit: -> host5-99-45-76.btinternet.com, time: 957132111#> process.is_visit: -- host5-99-45-76.btinternet.com, time: 957132121 - 10#> process.is_visit: <- host5-99-45-76.btinternet.com, time: 957132242 - 1851## ## explanation:## process.is_visit: -> ## - the visit from host5-99-45-76.btinternet.com starts at 957132111.## process.is_visit: --## - 10 seconds later (957132121 - 10) another hits from the same host occurs## process.is_visit: <-## - 1851 seconds after the last hit the visit is finished ## debug_visits=0# hide an url## the following URL are hidden (images)hideurl="\.gif$"hideurl="\.png$"hideurl="\.GIF$"hideurl="\.PNG$"hideurl="\.jpg$"hideurl="\.JPG$"# hide a refferer## the referrer stats should only contain the external referrer. ## you probably want to put your own url here:#hidereferrer="^http://www.kneschke.de"# group the referrersgroupreferrer="^-$",(Direct Access)#groupreferrer="samba/GUI",www.samba.org UserInterfaces#groupreferrer="samba/docs/ntdom_faq",www.samba.org NT Domain FAQ#groupreferrer="/listproc/samba-ntdom/",www.samba.org NT Domain Mailinglist#grouphosts="\.dip\.t-dialin\.net$",dip.t-dialin.net#grouphosts="\.arcor-ip\.net$",arcor-ip.net#grouphosts="\.Concordia\.CA$",Concordia.CAgroupsearchstrings="^((?i).*)$",$1# group broken links## by default the various favicon should be grouped. if you want to know groupbrokenlinks="favicon\.ico$",Bookmarking Icons for MSIE 5.0groupos = "^FreeBSD .*-CURRENT$",FreeBSD -CURRENTgroupos = "^FreeBSD (.?)\.",FreeBSD $1.xgroupos = "^HP-UX B\.(10|11)\.",HP-UX B.$1.xgroupos = "^IRIX 6\.",IRIX 6.xgroupos = "^Linux 2\.(.?)\.",Linux 2.$1.xgroupos = "^NetBSD 1\.(.?)\.",NetBSD 1.$1.xgroupos = "^SunOS 4\.1",SunOS 4.1.xgroupos = "^SunOS 5\.([4-6])",Solaris 2.$1.xgroupos = "^SunOS 5\.([78])",Solaris $1.xgroupos = "^Win.*9(.?)$",Windows 9$1groupos = "^Win.*NT",Windows NTgroupua = "^FAST-WebCrawler/(.?)\.",FAST-WebCrawler $1.xgroupua = "^Googlebot/(.?)\.",Googlebot $1.xgroupua = "^Konqueror/([0-9])\.",Konqueror $1.xgroupua = "^Lynx/(.?)\.(.?)\.",Lynx $1.$2.xgroupua = "^MSIE 5\.5",Internet Explorer 5.5xgroupua = "^MSIE (.?)\.",Internet Explorer $1.xgroupua = "^Mozilla/4\.7",Netscape 4.7xgroupua = "^Mozilla/(.?)\.",Netscape $1.xgroupua = "^NetMind-Minder/(.?)\.",NetMind-Minder $1.xgroupua = "^Netscape/4\.",Netscape 4.xgroupua = "^Opera/(.?).",Opera $1.xgroupua = "^Slurp",Slurpgroupua = "^SpaceBison/(.?)",SpaceBison $1groupua = "^WWWOFFLE/(.?)\.",WWWOFFLE $1.xgroupua = "^Wget",Wgetgroupua = "^libwww-perl/(.?)\.",libwww-perl/$1.xgroupua = "davesengine\.com$",davesengine.com# url that should be counted as pages## pages that end with a '/' are index-pagespagetype="/$"## default page namespagetype="\.html$"pagetype="\.htm$"pagetype="\.php3$"#pagetype="\.asp$"#pagetype="\.shtml$"#pagetype="\.php$"# output modules (modlogan)[output_modlogan]# hostname (default: localhost)#hostname=www.kneschke.de# number of lines per report# 0 - disabled# >0 - number of lines per reportmaxrequrls = 30maxrefurls = 30maxos = 50maxhosts = 30maxentrypages = 10maxexitpages = 10maxindexedpages = 20maxua = 30maxreqprot = 10maxreqmeth = 10maxstatuscodes = 10maxrobots = 20maxbookmarks = 20maxbrokenlinks = 20maxsearchengines= 20maxsearchstrings= 30maxinteralerrors= 20maxcountries = 20# colors# the notation is #RRGGBB (HTML-color-tripple)background = #ffffffshadow = #808080pages = #00c0fffiles = #0080ffvisits = #ffff00xfer = #ff0000hosts = #ff8000hits = #00C030grouping = #D0D0E0body = #FFFFFF# the different colors of the country pie## by <Alexander@leidinger.net>country_circle = #AF0000country_circle = #FF0000country_circle = #FF6400country_circle = #FFB900country_circle = #8CFF00country_circle = #00C800country_circle = #007B00country_circle = #0058FFcountry_circle = #009EFFcountry_circle = #0000FFcountry_circle = #000082# pagestyle## the modlogan output plugin supports different output styles## - seppage## - onepage## - (a mixture of both)pagestyle = seppageshowdailygraph = 1showmonthlygraph= 1showhourlygraph = 1showcountrygraph= 1showvalidationlinks = 1# assumed protocol for the url completition## the requested file in the logfile is only the path in the ## documentroot of the server. for the report it is often ## neccesary the complete the path to a full url.## <assumedprotocol>://<hostname>/<path> is the completed path.#### if this option isn't set this feature is disabledassumedprotocol = http# filenames for the replacements of the html-header/footer## take a look at ./doc/plugin-options.txt for more information#htmlheader = header.ihtml#htmlfooter = footer.ihtml# output modules (webalizer)[output_webalizer]# hostname (default: localhost)#hostname=www.kneschke.de# number of lines per report# 0 - disabled# >0 - number of lines per reportmaxrequrls = 30maxrefurls = 30maxos = 50maxhosts = 30maxentrypages = 10maxexitpages = 10maxindexedpages = 20maxua = 30maxreqprot = 10maxreqmeth = 10maxstatuscodes = 10maxrobots = 20maxbookmarks = 20maxbrokenlinks = 20maxsearchengines= 20maxsearchstrings= 30maxinteralerrors= 20maxcountries = 20# colors# the notation is #RRGGBB (HTML-color-tripple)background = #c0c0c0shadow = #808080pages = #00c0fffiles = #0080ffvisits = #ffff00xfer = #ff0000hosts = #ff8000hits = #00C030grouping = #D0D0E0body = #FFFFFF# output modules (text)[output_text]# hostname (default: localhost)#hostname=www.kneschke.de# number of lines per report# 0 - disabled# >0 - number of lines per reportmaxrequrls = 30maxrefurls = 30maxos = 50maxhosts = 30maxentrypages = 10maxexitpages = 10maxindexedpages = 20maxua = 30maxreqprot = 10maxreqmeth = 10maxstatuscodes = 10maxrobots = 20maxbookmarks = 20maxbrokenlinks = 20maxsearchengines= 20maxsearchstrings= 30maxinteralerrors= 20maxcountries = 20# output modules (tkcontrol)[output_tkcontrol]# hostname (default: localhost)#hostname=www.kneschke.demaxcallednumbers = 20maxcallingnumbers = 20background = #c0c0c0shadow = #808080outgoing = #00c0ffincomming = #00C030grouping = #D0D0E0body = #FFFFFFcalls = #00ffff# input modules (clf)[input_clf]# filename of the input file## '-' for stdin or a uncompressed logfileinputfile=-# read ahead## multiple server can write into the same logfile which can lead to wrong## order of records in the logfile itself because noone can guarentee that ## two servers can access the logfile in the same order how they handled the## requests## to get to correct results these records have to be re-sorted. the## readaheadlimit tells the parser what the longest distance of two## non-sorted records is.## Example:## ... [01/May/2000:00:01:50 +0200] "GET ...## ... [01/May/2000:00:01:52 +0200] "GET ... <-+ 1.## ... [01/May/2000:00:01:53 +0200] "GET ... | 2.## ... [01/May/2000:00:01:51 +0200] "GET ... --+ 3.## ... [01/May/2000:00:01:54 +0200] "GET ...#### -> readaheadlimit = 3 readaheadlimit=2# these strings are used to detect the operating system in the useragent# stringmatchos="^Win"matchos="^Linux"matchos="^FreeBSD"matchos="^Macintosh"matchos="^PPC"matchos="^AIX"matchos="^IRIX"matchos="^SunOS"matchos="^OSF1"matchos="^OpenBSD"matchos="^Mac_PowerPC"matchos="^Solaris"matchos="^OS/2"matchos="^HP-UX"matchos="^NetBSD"matchos="^BSD/OS"# these strings are used to detect the requerying useragent in the useragent# stringmatchua="^iCab"matchua="^MSIE"matchua="^StarOffice"matchua="^Lotus-Notes"matchua="^BorderManager"matchua="^Powermarks"matchua="^NetMind-Minder"matchua="^WebCapture"matchua="^Squid"matchua="^Mozilla"matchua="^Konqueror"# input modules (msiis)[input_msiis]# filename of the input file## '-' for stdin or a uncompressed logfileinputfile=-# these strings are used to detect the operating system in the useragent# stringmatchos="^Win"matchos="^Linux"matchos="^FreeBSD"matchos="^Macintosh"matchos="^PPC"matchos="^AIX"matchos="^IRIX"matchos="^SunOS"matchos="^OSF1"matchos="^OpenBSD"matchos="^Mac_PowerPC"matchos="^Solaris"matchos="^OS/2"matchos="^HP-UX"matchos="^NetBSD"matchos="^BSD/OS"# these strings are used to detect the requerying useragent in the useragent# stringmatchua="^iCab"matchua="^MSIE"matchua="^StarOffice"matchua="^Lotus-Notes"matchua="^BorderManager"matchua="^Powermarks"matchua="^NetMind-Minder"matchua="^WebCapture"matchua="^Squid"matchua="^Mozilla"matchua="^Konqueror"# input modules (wuftpd)[input_wuftpd]# filename of the input file## '-' for stdin or a uncompressed logfileinputfile=-[input_realserver]inputfile=-[input_squid]inputfile=-
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -