# $Id: modlogan.def.conf-dist,v 1.45 2003/05/17 18:53:51 miham 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		= group.ua.conf,groupua
include		= 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		= group.host.conf,grouphosts_germany
include		= group.host.conf,grouphosts_austria
include		= group.host.conf,grouphosts_us
include		= group.host.conf,grouphosts_misc
# these two groupings should reasonably group most hosts
include		= group.host.conf,grouphosts_generic
include		= group.host.conf,grouphosts_ip
include		= group.extension.conf,groupext
include		= group.url.conf,groupurl

include         = group.searchengines.conf,group_searchengines
include         = ignore.searchengines.conf,ignore_searchengines
include         = 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		= 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		= match.useragents.conf,match_useragents

# Default input is stdin
inputfile	= -

########## Microsoft IIS input section
[input_msiis]
include		= match.os.conf,matchos
include		= 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

assumedprotocol = http

generate_full_reports = 1

[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
