uwimap = { # The name of the log format log.format.format_label = "uw-imap Log Format" log.miscellaneous.log_data_type = "syslog_required" log.miscellaneous.log_format_type = "mail_server" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "imap service init from [0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # An entry in this log is called an event in the statistics statistics.miscellaneous.entry_name = "events" # Log fields log.fields = { user = { label = "$lang_stats.field_labels.user" type = "flat" index = 0 subindex = 0 } # user action = { label = "$lang_stats.field_labels.action" type = "flat" index = 0 subindex = 0 } # action source_ip = { label = "$lang_stats.field_labels.source_ip" type = "flat" index = 0 subindex = 0 } # source_ip source_hostname = { label = "$lang_stats.field_labels.source_hostname" type = "flat" index = 0 subindex = 0 } # source_hostname } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse Login/Logout lines 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('()(Login|Logout) user=(.*) host=(.*) \\\\[([0-9.]+)\\\\]', '*KEY*,action,user,source_hostname,source_ip')" } # 1 # Accept this log entry on Logout 2 = { label = "2" comment = "" value = "accept_collected_entry_using_regexp('()(Login|Logout)', false)" } # 2 } # log.parsing_filters # Database fields database.fields = { user = { label = "$lang_stats.field_labels.user" log_field = "user" type = "string" suppress_top = 0 suppress_bottom = 2 } # user action = { label = "$lang_stats.field_labels.action" log_field = "action" type = "string" suppress_top = 0 suppress_bottom = 2 } # action source_ip = { label = "$lang_stats.field_labels.source_ip" log_field = "source_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_ip source_hostname = { label = "$lang_stats.field_labels.source_hostname" log_field = "source_hostname" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_hostname } # database.fields database.numerical_fields = { events = { label = "$lang_stats.field_labels.events" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # events } # database.numerical_fields log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'events = 1;' } # mark_entry } # log.filters create_profile_wizard_options = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" user = true action = true source_ip = true source_host = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true individualhosts = true sessions = true pageviews = true bandwidth = true } # not_supported } # uwimap