diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2003-12-18 00:54:14 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2003-12-18 00:54:14 +0000 |
commit | 2148f9fc1c7e8fb00de20a2334b6821face2cb4a (patch) | |
tree | 8d37baf1877772bab2d0af4c5c8de56c35a1c0cb /app-admin/modlogan/files | |
parent | New release (diff) | |
download | gentoo-2-2148f9fc1c7e8fb00de20a2334b6821face2cb4a.tar.gz gentoo-2-2148f9fc1c7e8fb00de20a2334b6821face2cb4a.tar.bz2 gentoo-2-2148f9fc1c7e8fb00de20a2334b6821face2cb4a.zip |
sample config updates, added the themes package for template output plugin
Diffstat (limited to 'app-admin/modlogan/files')
-rw-r--r-- | app-admin/modlogan/files/0.8/modlogan.conf | 10 | ||||
-rw-r--r-- | app-admin/modlogan/files/0.8/sample.conf | 113 | ||||
-rw-r--r-- | app-admin/modlogan/files/0.8/sample.def.conf | 439 | ||||
-rw-r--r-- | app-admin/modlogan/files/digest-modlogan-0.8.10-r1 | 3 |
4 files changed, 565 insertions, 0 deletions
diff --git a/app-admin/modlogan/files/0.8/modlogan.conf b/app-admin/modlogan/files/0.8/modlogan.conf new file mode 100644 index 000000000000..5087842e0dbd --- /dev/null +++ b/app-admin/modlogan/files/0.8/modlogan.conf @@ -0,0 +1,10 @@ +# +# This is the config file for modlogan-statistics +# +<Directory "/var/www/localhost/htdocs/modlogan"> + Options None + AllowOverride None + + Order allow,deny + Allow from all +</Directory> diff --git a/app-admin/modlogan/files/0.8/sample.conf b/app-admin/modlogan/files/0.8/sample.conf new file mode 100644 index 000000000000..1e12b61598e6 --- /dev/null +++ b/app-admin/modlogan/files/0.8/sample.conf @@ -0,0 +1,113 @@ +# ModLogAn 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. Wildcardmatching: +# every key that starts with +# - hide +# - group +# - match +# has support for wildcard matching. the wildcard is the '*' and is allowed +# at the beginning and at the end of the value +# +# 4. sections +# The configuration file is seperated into three parts +# - [global] +# - [input] +# - [output] +# - [processor] +# the 'global'-section has to be at the top if the config-file. +# the keys for the input and the output section are plugin specific + +# for the avaible options and if they can be overwritten, look at +# ./doc/plugin-options.txt +# for a description and examples of the options take a look at the +# sample default-configfile ./doc/sample.def.conf + +# how include works: +# include=<path to config file>,<name of section to include> +# +# to use the default options of the input_clf section from the default +# configuration, one would use this: +# include=/etc/modlogan/modlogan.def.conf,input_clf +# +# you can still overwrite options after the include line: +# include=/etc/modlogan/modlogan.def.conf,input_clf +# readaheadlimit=25 + +# +# global configuration section +# +[global] +includepath=/etc/modlogan +# include configuration from default config into this section +include=modlogan.def.conf,global +# load plugins +loadplugin=input_clf +loadplugin=output_modlogan +loadplugin=processor_web + +# where to store statefiles ? +statedir=/var/www/localhost/htdocs/modlogan/ +incremental=1 + +# uncomment this, to get a list of supported options +#show_available_config_options=1 + +# +# configuration for web processor plugin +# +[processor_web] +include=modlogan.def.conf,processor_web +hidereferrer="^http://##HOST2##" +#splitby=srvhost,"(.*)",$1 +debug_searchengines=1 + + +# +# configuration for modlogan output plugin +# +[output_modlogan] +include=modlogan.def.conf,output_modlogan +hostname=##HOST## +outputdir=/var/www/localhost/htdocs/modlogan/ + +# +# configuration for template output plugin +# (use loadplugin = output_template +# instead of output_modlogan to use this) +# +[output_template] +include=modlogan.def.conf,output_template +include=modlogan.def.conf,output_template_reports_web +include=modlogan.def.conf,output_template_menu_web +hostname=##HOST## +outputdir=/var/www/localhost/htdocs/modlogan/ + +# to use another theme, see /usr/share/modlogan/themes/ +# for names (basic is default) +#template_name = basic + + +# +# configuration for clf format input plugin +# +[input_clf] +include=modlogan.def.conf,input_clf +# read from stdin +inputfile=- + diff --git a/app-admin/modlogan/files/0.8/sample.def.conf b/app-admin/modlogan/files/0.8/sample.def.conf new file mode 100644 index 000000000000..eb72a2277c9c --- /dev/null +++ b/app-admin/modlogan/files/0.8/sample.def.conf @@ -0,0 +1,439 @@ +# $Id: sample.def.conf,v 1.1 2003/12/18 00:54:03 stkn Exp $ + +[global] +# Compress XML state files with max gzip compression +compress_mode=9 + +## let modlogan decide what a read-ahead-limit might be the best +read_ahead_limit = 0 + +########## WEB Processor Section +[processor_web] +include = /etc/modlogan/modlogan/group.ua.conf,groupua +include = /etc/modlogan/modlogan/group.os.conf,groupos +# Host grouping has been split into some groups to allow +# for detailed reports if you have lot's of visitors from germany etc. +include = /etc/modlogan/modlogan/group.host.conf,grouphosts_germany +include = /etc/modlogan/modlogan/group.host.conf,grouphosts_austria +include = /etc/modlogan/modlogan/group.host.conf,grouphosts_us +include = /etc/modlogan/modlogan/group.host.conf,grouphosts_misc +# these two groupings should reasonably group most hosts +include = /etc/modlogan/modlogan/group.host.conf,grouphosts_generic +include = /etc/modlogan/modlogan/group.host.conf,grouphosts_ip +include = /etc/modlogan/modlogan/group.extension.conf,groupext +include = /etc/modlogan/modlogan/group.url.conf,groupurl + +include = /etc/modlogan/modlogan/group.searchengines.conf,group_searchengines +include = /etc/modlogan/modlogan/ignore.searchengines.conf,ignore_searchengines +include = /etc/modlogan/modlogan/match.searchengines.conf,match_searchengines + + + +maxhostcacheentries = 100 + +## max count of hits per visit +# kill endless visits +max_hits_per_visit = 1000 + +debug_searchengines = 0 +visit_timeout = 1800 +debug_visits = 0 + +# log ungrouped searchengines +log_ungrouped_searchengines = 0 +log_ungrouped_searchengines_file = ungrouped_searchengines.txt + +# decode searchstring +decode_searchstrings = 1 + +# Hide supplementary files such as images +hideurl="\.(?i:gif|png|jpe?g|css|js|class|mid|swf)(?:\?|$)" +# Hide Robots / Bookmarks from main Report +hideurl="^/(?:robots.txt|favicon.ico)$" + +# Direct Accesses (no known referrer) +groupreferrer="^-$",(Direct Access / no known referrer) + +groupsearchstrings="cache:.*? ",(Google Cache) +# group lowercase +groupsearchstrings="^(.*)$",$_1 + +# Some special common broken links +groupbrokenlinks="favicon\.ico$",Bookmarking Icons for MSIE 5.0, Galeon +groupbrokenlinks="robots\.txt$",Robot control file /robots.txt + +# url that should be counted as pages +## pages that end with a '/' are index-pages +pagetype="/$" +## default page names - single expression for speed +pagetype="\.(?i:php[34]?|html?|phtml|shtml|asp|cgi|pl|jsp)(?:\?|$)" + +# To hide downloads such as Postscript, include this via +# include = modlogan.def.conf,hide_downloads +[hide_downloads] +hideurl="\.(?i:mp3|mpg|pdf|ps|ps\.gz|zip|tgz|deb|rpm|rar|tar\.gz|bz3)$" + +########## OUTPUT Section +[output_modlogan] +## < 0 for all, 0 for none +maxrequrls = 30 +maxrefurls = 30 +maxos = 50 +maxhosts = 30 +maxentrypages = 10 +maxexitpages = 10 +maxindexedpages = 20 +maxua = 30 +maxreqprot = 10 +maxreqmeth = 10 +maxstatuscodes = 10 +maxrobots = 20 +maxbookmarks = 20 +maxbrokenlinks = 20 +maxsearchengines= 20 +maxsearchstrings= 30 +maxinteralerrors= 20 +maxcountries = 20 +maxextensions = 20 +maxvisitpaths = 20 +maxvisitdurations = 20 +maxvisitpathlengths = 20 +maxviewdurations = 20 +maxvhosts = 100 +maxgraphedmonths = 13 + +showdailygraph = 1 +showmonthlygraph = 1 +showhourlygraph = 1 +showcountrygraph = 1 +showvhostgraph = 1 + +showmonthinmenu = 1 +showmonthlymaxima = 1 + +showmonthlygraphgrid = 1 +grid = #000000 + +showvalidationlinks = 1 + +assumedprotocol = http + +pagestyle = seppage + +## Template names +#htmlheader = header.ihtml +#htmlfooter = footer.ihtml +# this is NOT how the file in the output will be called! +# this is the file name of the source file. +cssfile = /etc/modlogan/modlogan/modlogan.css + +# HTML colors are in the CSS file, these colors are for +# generating the graphics only. +background = #ffffff +foreground = #000000 +border = #000000 +shadow = #999999 +pages = #00c0ff +files = #0080ff +visits = #ffff00 +xfer = #ff0000 +hits = #00C030 + +country_circle = #AF0000 +country_circle = #FF0000 +country_circle = #FF6400 +country_circle = #FFB900 +country_circle = #8CFF00 +country_circle = #00C800 +country_circle = #007B00 +country_circle = #0058FF +country_circle = #009EFF +country_circle = #0000FF +country_circle = #000082 + +# Vhost chart colors +# added by sysman@sysman.net +vhost_circle = #CC9933 +vhost_circle = #FF0066 +vhost_circle = #FF6600 +vhost_circle = #FFBB00 +vhost_circle = #CCFF00 +vhost_circle = #00CC00 +vhost_circle = #008800 +vhost_circle = #0066FF +vhost_circle = #00CCFF +vhost_circle = #0000FF +vhost_circle = #000099 + +########## Webalizer-Lookalike output section +[output_webalizer] +maxrequrls = 30 +maxrefurls = 30 +maxos = 50 +maxhosts = 30 +maxentrypages = 10 +maxexitpages = 10 +maxindexedpages = 20 +maxua = 30 +maxreqprot = 10 +maxreqmeth = 10 +maxstatuscodes = 10 +maxrobots = 20 +maxbookmarks = 20 +maxbrokenlinks = 20 +maxsearchengines= 20 +maxsearchstrings= 30 +maxinteralerrors= 20 +maxcountries = 20 + +# colors +# the notation is #RRGGBB (HTML-color-tripple) +background = #c0c0c0 +shadow = #808080 +pages = #00c0ff +files = #0080ff +visits = #ffff00 +xfer = #ff0000 +hosts = #ff8000 +hits = #00C030 +grouping = #D0D0E0 +body = #FFFFFF + +########## TEXT Output Section +[output_text] + +########## TKControl Output +[output_tkcontrol] +maxcallednumbers = 20 +maxcallingnumbers = 20 + +background = #c0c0c0 +shadow = #808080 +outgoing = #00c0ff +incoming = #00C030 +grouping = #D0D0E0 +body = #FFFFFF +calls = #00ffff + +########## COMMON LOGFILE FORMAT input section +[input_clf] +include = /etc/modlogan/modlogan/match.useragents.conf,match_useragents + +# Default input is stdin +inputfile = - + +########## Microsoft IIS input section +[input_msiis] +include = /etc/modlogan/modlogan/match.os.conf,matchos +include = /etc/modlogan/modlogan/match.ua.conf,matchua + +# Default input is stdin +inputfile = - + +[input_wuftpd] +# Default input is stdin +inputfile = - + +[input_realserver] +# Default input is stdin +inputfile = - + +[input_squid] +# Default input is stdin +inputfile = - + +[output_template] +# {NAME} and {DATE} will be replaced. The rest of the filename is yours +filename_pattern = mla-{NAME}-{DATE}.html +index_filename = index.html +template_path = /usr/share/modlogan/themes/ +template_name = basic + +assumedprotocol = http + +[output_template_reports_web] +# enabling all available reports for the web-logs +report = web_request_url +report = web_request_url_traffic +report = web_request_protocol +report = web_request_method +report = web_request_status +report = web_request_extensions +report = web_request_extensions_traffic +report = web_user_users +report = web_user_users_traffic + +report = web_user_referer +report = web_user_os +report = web_user_os_visits +report = web_user_host +report = web_user_host_visits +report = web_user_useragent +report = web_user_useragent_visits +report = web_user_bookmarks +report = web_user_countries +report = web_user_countries_visits +report = web_user_view_duration +report = web_user_view_duration_visits +report = web_user_view_duration_average + +report = web_visit_entry_pages +report = web_visit_exit_pages +report = web_visit_path +report = web_visit_path_length +report = web_visit_duration + +report = web_robot_indexed_pages +report = web_robot_names +report = web_robot_searchengine +report = web_robot_seachstrings + +report = web_server_broken_links +report = web_server_internal_errors +report = web_server_vhosts + +report = web_generic_summary +report = web_generic_hourly +report = web_generic_daily + +[output_template_menu_web] +## create a menu for the reports + +## with menuentry you can build menu-tree +## menuentry = <parent>,<child> +## +## The first used parent is the root node, here: start +## +## if <child> is the name of a report, the specified report is assigned +## to this menuentry + +menuentry = start,web_generic_summary +menuentry = start,web_generic_hourly +menuentry = start,web_generic_daily + +menuentry = start, req +menuentry = start, user +menuentry = start, visits +menuentry = start, robots +menuentry = start, server + +## declare a title for the pages which are not assigned to a report + +menutitle = start, Top +menutitle = req, Requests +menutitle = user, Users +menutitle = robots, Robots +menutitle = server, Server +menutitle = visits, Visits + +menuentry = req,web_request_url +menuentry = req,web_request_url_traffic +menuentry = req,web_request_protocol +menuentry = req,web_request_method +menuentry = req,web_request_status +menuentry = req,web_request_extensions +menuentry = req,web_request_extensions_traffic +menuentry = req,web_user_users +menuentry = req,web_user_users_traffic + +menuentry = user,web_user_referer +menuentry = user,web_user_os +menuentry = user,web_user_os_visits +menuentry = user,web_user_host +menuentry = user,web_user_host_visits +menuentry = user,web_user_useragent +menuentry = user,web_user_useragent_visits +menuentry = user,web_user_bookmarks +menuentry = user,web_user_countries +menuentry = user,web_user_countries_visits +menuentry = user,web_user_view_duration +menuentry = user,web_user_view_duration_visits +menuentry = user,web_user_view_duration_average + +menuentry = visits,web_visit_entry_pages +menuentry = visits,web_visit_exit_pages +menuentry = visits,web_visit_path +menuentry = visits,web_visit_path_length +menuentry = visits,web_visit_duration + +menuentry = robots,web_robot_indexed_pages +menuentry = robots,web_robot_names +menuentry = robots,web_robot_searchengine +menuentry = robots,web_robot_seachstrings + +menuentry = server,web_server_broken_links +menuentry = server,web_server_internal_errors +menuentry = server,web_server_vhosts + +[output_template_menu_web_german_titles] +menutitle = start, Start +menutitle = req, Anfragen +menutitle = user, Nutzer +menutitle = robots, Roboter +menutitle = server, Server +menutitle = visits, Besuche + +[output_template_reports_mail] +report = mail_daily +report = mail_hourly +report = mail_sender +report = mail_sender_traffic +report = mail_receipient +report = mail_receipient_traffic +report = mail_incoming_domains +report = mail_incoming_domains_traffic +report = mail_outgoing_domains +report = mail_outgoing_domains_traffic + +[output_template_reports_mail_qmail] +report = mail_qmail_queue_pollution + +[output_template_reports_mail_virus] +report = mail_virus +report = mail_scanner +report = mail_subject + +[output_template_menu_mail] +menuentry = start, mail_daily +menuentry = start, mail_hourly +menuentry = start, email +menuentry = start, domains +menuentry = email, mail_sender +menuentry = email, mail_sender_traffic +menuentry = email, mail_receipient +menuentry = email, mail_receipient_traffic +menuentry = domains, mail_incoming_domains +menuentry = domains, mail_incoming_domains_traffic +menuentry = domains, mail_outgoing_domains +menuentry = domains, mail_outgoing_domains_traffic + +menutitle = start, Top +menutitle = email, Mail-Adresses +menutitle = domains, Domains + +[output_template_menu_mail_german_titles] +menutitle = start, Hier gehts los +menutitle = email, Email-Adressen +menutitle = domains, Domains + +[output_template_menu_mail_qmail] +menuentry = start, qmail +menuentry = qmail, mail_qmail_queue_pollution +menutitle = qmail, Qmail + +[output_template_menu_mail_virus] +menuentry = start, virus +menuentry = virus, mail_virus +menuentry = virus, mail_scanner +menuentry = virus, mail_subject +menutitle = virus, Virus Information + +[output_template_localizer] +report = web_user_location_cities +report = web_user_location_provinces +report = web_user_location_countries +report = web_user_location_provider +menuentry = user,web_user_location_cities +menuentry = user,web_user_location_provinces +menuentry = user,web_user_location_countries +menuentry = user,web_user_location_provider diff --git a/app-admin/modlogan/files/digest-modlogan-0.8.10-r1 b/app-admin/modlogan/files/digest-modlogan-0.8.10-r1 new file mode 100644 index 000000000000..f02ded306a44 --- /dev/null +++ b/app-admin/modlogan/files/digest-modlogan-0.8.10-r1 @@ -0,0 +1,3 @@ +MD5 caf689da199b0c4b01b29aeefcbe6171 modlogan-0.8.10.tar.gz 988443 +MD5 9ad1232612f9555352375e42eca298f5 modlogan-themes-0.0.5.tar.gz 47369 +MD5 46768d1d4af9f3f503f7f32ac4127c7a gd-1.8.1.tar.gz 260967 |