netscape_messenger = { # The name of the log format log.format.format_label = "Netscape Messenger Log Format" log.miscellaneous.log_data_type = "mail_server" log.miscellaneous.log_format_type = "other" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "^\\[[0-9][0-9]/[A-Z][a-z][a-z]/[0-9][0-9][0-9][0-9]:[0-9][0-9]:[0-9][0-9]:[0-9][0-9] [-+][0-9][0-9][0-9][0-9]\\] ([^ ]*) [a-z]*\\[[0-9]*\\]: [A-Z][a-zA-z ]*: " # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # The format of dates and times in this log log.format.date_format = "dd/mmm/yyyy:hh:mm:ss" log.format.time_format = "dd/mmm/yyyy:hh:mm:ss" # An entry in this log is called an "event" in the statistics (not a "hit") statistics.miscellaneous.entry_name = "events" # Log fields log.fields = { date_time = { label = "$lang_stats.field_labels.date_time" type = "date_time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date_time protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 0 subindex = 0 } # protocol type = { label = "$lang_stats.field_labels.type" type = "flat" index = 0 subindex = 0 } # type operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation source_ip = { label = "$lang_stats.field_labels.source_ip" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source_ip source_address = { label = "$lang_stats.field_labels.source_address" type = "flat" index = 0 subindex = 0 } # source_address destination_address = { label = "$lang_stats.field_labels.destination_address" type = "flat" index = 0 subindex = 0 } # destination_address session = { label = "$lang_stats.field_labels.session" type = "flat" index = 0 subindex = 0 } # session message_id = { label = "$lang_stats.field_labels.message_id" type = "flat" index = 0 subindex = 0 } # message_id duration = { label = "$lang_stats.field_labels.duration" type = "flat" index = 0 subindex = 0 } # duration } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the date/time 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()\\\\[([0-9][0-9]/[A-Z][a-z][a-z]/[0-9][0-9][0-9][0-9]:[0-9][0-9]:[0-9][0-9]:[0-9][0-9]) [-+][0-9][0-9][0-9][0-9]\\\\] [^ ]* ([^[]*)\\\\[[0-9]*\\\\]', '*KEY*,date_time,protocol')" } # 1 # Process Account Notice: close lines 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('() (Account Notice): (close) ([^ ]*) ([^ ]*) [^ ]* [^ ]* ([^ ]*)', '*KEY*,type,operation,source_ip,session,duration')" } # 2 # Process General Notice: created message lines 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('() (General Notice): ([0-9]*)\\\\[([^]]*)\\\\] (created message) <([^>]*)>', '*KEY*,type,session,source_ip,operation,message_id')" } # 3 # Process General Notice: SMTP-Accept lines 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('() (General Notice): (SMTP-Accept|SMTP-Deliver):[^:]*:<([^>]*)>:[^:]*:([^:]*):<([^>]*)>:[0-9]*:[0-9]*:<([^>]*)>', '*KEY*,type,operation,message_id,source_ip,source_address,destination_address')" } # 4 # Process General Notice: List Delivery lines 5 = { label = "5" comment = "" value = "collect_fields_using_regexp('() (General Information): (List Delivery):([^:]*):SMTP<([^>]*)>', '*KEY*,type,operation,source_address,destination_address')" } # 5 # Accept this log entry 6 = { label = "6" comment = "" value = "accept_collected_entry_using_regexp('()(Account Notice:|General Notice)', false)" } # 6 } # 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 type = { label = "$lang_stats.field_labels.type" log_field = "type" type = "string" suppress_top = 0 suppress_bottom = 2 } # type operation = { label = "$lang_stats.field_labels.operation" log_field = "operation" type = "string" suppress_top = 0 suppress_bottom = 2 } # operation source_ip = { label = "$lang_stats.field_labels.source_ip" log_field = "source_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_ip source_address = { label = "$lang_stats.field_labels.source_address" log_field = "source_address" type = "string" suppress_top = 0 suppress_bottom = 2 } # 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 session = { label = "$lang_stats.field_labels.session" log_field = "session" type = "string" suppress_top = 0 suppress_bottom = 2 } # session message_id = { label = "$lang_stats.field_labels.message_id" log_field = "message_id" type = "string" suppress_top = 0 suppress_bottom = 2 } # message_id } # 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 = { date_time_tracking = true host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" day_of_week = true hour_of_day = true type = true operation = true source_ip = true source_address = true destination_address = true session = true message_id = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true sessions = true pageviews = true bandwidth = true } # not_supported } # netscape_messenger