# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. listserv = { # The name of the log format log.format.format_label = "LISTSERV Log Format" log.miscellaneous.log_data_type = "generic" 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 = "^[0-9]+ [A-Za-z][A-Za-z][A-Za-z] [0-9][0-9][0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] Processing file [0-9]* from " # The format of dates and times in this log log.format.date_format = "d/mmm/yyyy" log.format.time_format = "hh:mm:ss" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { date = { label = "$lang_stats.field_labels.date" type = "date" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date time = { label = "$lang_stats.field_labels.time" type = "time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # time source_address = { label = "$lang_stats.field_labels.source_address" type = "host" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # source_address destination_address = { label = "$lang_stats.field_labels.destination_address" type = "flat" index = 0 subindex = 0 } # destination_address list = { label = "$lang_stats.field_labels.list" type = "flat" index = 0 subindex = 0 } # list } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse a "Distributing mail" line 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()([0-9]+ [A-Za-z][A-Za-z][A-Za-z] [0-9][0-9][0-9][0-9]) ([0-9][0-9]:[0-9][0-9]:[0-9][0-9]) Distributing mail \\\\(.(.*).\\\\) from (.*)\\\\.\\\\.\\\\.$', '*KEY*,date,time,list,source_address')" } # 1 # Parse a "Mail posted via SMTP" line 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^()([0-9]+ [A-Za-z][A-Za-z][A-Za-z] [0-9][0-9][0-9][0-9]) ([0-9][0-9]:[0-9][0-9]:[0-9][0-9]) Mail posted via SMTP to (.*)\\\\.$', '*KEY*,date,time,destination_address')" } # 2 # Accept the collected entry when there is an SMTP line 3 = { label = "3" comment = "" value = "accept_collected_entry_using_regexp('() Mail posted via SMTP ', false)" } # 3 } # log.parsing_filters # Database fields database.fields = { date_time = { label = "$lang_stats.field_labels.date_time" log_field = "date_time" type = "string" suppress_top = 0 suppress_bottom = 3 display_format_type = "date_time" } # date_time day_of_week = { label = "$lang_stats.field_labels.day_of_week" log_field = "day_of_week" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "day_of_week" } # day_of_week hour_of_day = { label = "$lang_stats.field_labels.hour_of_day" log_field = "hour_of_day" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "hour_of_day" } # hour_of_day source_address = { label = "$lang_stats.field_labels.source_address" log_field = "source_address" type = "string" suppress_top = 0 suppress_bottom = 3 } # source_address destination_address = { label = "$lang_stats.field_labels.destination_address" log_field = "destination_address" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_address list = { label = "$lang_stats.field_labels.list" log_field = "list" type = "string" suppress_top = 0 suppress_bottom = 2 } # list } # database.fields database.numerical_fields = { hits = { label = "$lang_stats.field_labels.hits" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # hits } # database.numerical_fields log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'hits = 1;' } # mark_entry } # log.filters create_profile_wizard_options = { date_time_tracking = true host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" source_address = true destination_address = true list = true } # report_groups } # create_profile_wizard_options not_supported = { bandwidth = true sessions = true pageviews = true visitors = true } # not_supported } # listserv