# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. openwave_intermail = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2011-07-08 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Openwave Systems" info.1.device = "Intermail" info.1.version.1 = "" # The name of the log format log.format.format_label = "Openwave Intermail Log Format" log.miscellaneous.log_data_type = "mail_server" 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][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+]* .*Note;" # 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 = "yyyymmdd" log.format.time_format = "hhmmss" # 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 server = { label = "$lang_stats.field_labels.server" type = "flat" index = 0 subindex = 0 } # server priority = { label = "$lang_stats.field_labels.priority" type = "flat" index = 0 subindex = 0 } # priority operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation user = { label = "$lang_stats.field_labels.user" type = "flat" index = 0 subindex = 0 } # user mbox = { label = "$lang_stats.field_labels.mbox" type = "flat" index = 0 subindex = 0 } # mbox msgid = { label = "$lang_stats.field_labels.msgid" type = "flat" index = 0 subindex = 0 } # msgid mss = { label = "$lang_stats.field_labels.mss" type = "flat" index = 0 subindex = 0 } # mss msgfile = { label = "$lang_stats.field_labels.msgfile" type = "flat" index = 0 subindex = 0 } # msgfile msgsize = { label = "$lang_stats.field_labels.msgsize" type = "flat" index = 0 subindex = 0 } # msgsize size = { label = "$lang_stats.field_labels.size" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # size cmd = { label = "$lang_stats.field_labels.cmd" type = "flat" index = 0 subindex = 0 } # cmd from = { label = "$lang_stats.field_labels.from" type = "flat" index = 0 subindex = 0 } # from fromhost = { label = "$lang_stats.field_labels.fromhost" type = "flat" index = 0 subindex = 0 } # fromhost sender = { label = "$lang_stats.field_labels.sender" type = "flat" index = 0 subindex = 0 } # sender rcpts = { label = "$lang_stats.field_labels.rcpts" type = "flat" index = 0 subindex = 0 } # rcpts priority = { label = "$lang_stats.field_labels.priority" type = "flat" index = 0 subindex = 0 } # priority desthost = { label = "$lang_stats.field_labels.desthost" type = "flat" index = 0 subindex = 0 } # desthost port = { label = "$lang_stats.field_labels.port" type = "flat" index = 0 subindex = 0 } # port } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the ':' separated, = divided variables 1 = { label = "1" comment = "" value = "collect_listed_fields_using_regexp('\\\\)() (.*)$', ':', '=', '')" } # 1 # Parse out all the beginning fields 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^()([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+]* mail ([^ ]*) [^A-Z]*([^;]*);([^(]*)\\\\(', '*KEY*,date,time,server,priority,operation')" } # 2 # Accept this log entry 3 = { label = "3" comment = "" value = "accept_collected_entry_using_regexp('()', 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 server = { label = "$lang_stats.field_labels.server" log_field = "server" type = "string" suppress_top = 0 suppress_bottom = 2 } # server priority = { label = "$lang_stats.field_labels.priority" log_field = "priority" type = "string" suppress_top = 0 suppress_bottom = 2 } # priority operation = { label = "$lang_stats.field_labels.operation" log_field = "operation" type = "string" suppress_top = 0 suppress_bottom = 2 } # operation user = { label = "$lang_stats.field_labels.user" log_field = "user" type = "string" suppress_top = 0 suppress_bottom = 2 } # user mbox = { label = "$lang_stats.field_labels.mbox" log_field = "mbox" type = "string" suppress_top = 0 suppress_bottom = 2 } # mbox mss = { label = "$lang_stats.field_labels.mss" log_field = "mss" type = "string" suppress_top = 0 suppress_bottom = 2 } # mss msgfile = { label = "$lang_stats.field_labels.msgfile" log_field = "msgfile" type = "string" suppress_top = 0 suppress_bottom = 2 } # msgfile port = { label = "$lang_stats.field_labels.port" log_field = "port" type = "string" suppress_top = 0 suppress_bottom = 2 } # port command = { label = "$lang_stats.field_labels.command" log_field = "command" type = "string" suppress_top = 0 suppress_bottom = 2 } # command from = { label = "$lang_stats.field_labels.from" log_field = "from" type = "string" suppress_top = 0 suppress_bottom = 2 } # from fromhost = { label = "$lang_stats.field_labels.fromhost" log_field = "fromhost" type = "string" suppress_top = 0 suppress_bottom = 2 } # fromhost desthost = { label = "$lang_stats.field_labels.desthost" log_field = "desthost" type = "string" suppress_top = 0 suppress_bottom = 2 } # desthost } # database.fields # Log Filters log.filters = { # This filter sets size = msgsize if size is zero 1 = { label = "1" comment = "" value = "if (size eq '0') then size = msgsize;" } # 1 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 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 size = { label = "$lang_stats.field_labels.size" default = false requires_log_field = true log_field = "size" type = "float" display_format_type = "bandwidth" } # size } # database.numerical_fields create_profile_wizard_options = { date_time_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" server = true priority = true operation = true user = true mbox = true mss = true msgfile = true port = true command = true from = true fromhost = true desthost = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true sessions = true pageviews = true individualhosts = true } # not_supported } # openwave_intermail