# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. nemx_powertools_for_exchange = { # The name of the log format log.format.format_label = "NEMX PowerTools for Exchange" 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] Spam Filter Detection" # 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 = "auto" log.format.time_format = "auto" # Log fields log.fields = { date = { label = "$lang_stats.field_labels.date" type = "date" } # date time = { label = "$lang_stats.field_labels.time" type = "time" } # time type = { label = "$lang_stats.field_labels.type" type = "flat" } # type rule = { label = "$lang_stats.field_labels.rule" type = "flat" } # rule object = { label = "$lang_stats.field_labels.object" type = "flat" } # object action = { label = "$lang_stats.field_labels.action" type = "flat" index = 0 subindex = 0 } # action mailbox = { label = "$lang_stats.field_labels.mailbox" type = "flat" index = 0 subindex = 0 } # mailbox folder = { label = "$lang_stats.field_labels.folder" type = "flat" index = 0 subindex = 0 } # folder subject = { label = "$lang_stats.field_labels.subject" type = "flat" index = 0 subindex = 0 } # subject from = { label = "$lang_stats.field_labels.from" type = "flat" index = 0 subindex = 0 } # from recip = { label = "$lang_stats.field_labels.recip" type = "flat" index = 0 subindex = 0 } # recip } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse the main lines parse = { label = "parse" comment = "" value = " if (matches_regular_expression(current_log_line(), '([0-9/]+) - ([0-9:]+) ([^:]+): (.*)$')) then ( set_collected_field('', 'date', $1); set_collected_field('', 'time', $2); set_collected_field('', 'type', $3); collect_listed_fields('', $4, ', ', '=', 'Date=notdate'); accept_collected_entry('', false); ) " } # parse } # 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 rule = { label = "$lang_stats.field_labels.rule" log_field = "rule" type = "string" suppress_top = 0 suppress_bottom = 2 } # rule object = { label = "$lang_stats.field_labels.object" log_field = "object" type = "string" suppress_top = 0 suppress_bottom = 2 } # object action = { label = "$lang_stats.field_labels.action" log_field = "action" type = "string" suppress_top = 0 suppress_bottom = 2 } # action mailbox = { label = "$lang_stats.field_labels.mailbox" log_field = "mailbox" type = "string" suppress_top = 0 suppress_bottom = 2 } # mailbox folder = { label = "$lang_stats.field_labels.folder" log_field = "folder" type = "string" suppress_top = 0 suppress_bottom = 2 } # folder subject = { label = "$lang_stats.field_labels.subject" log_field = "subject" type = "string" suppress_top = 0 suppress_bottom = 2 } # subject from = { label = "$lang_stats.field_labels.from" log_field = "from" type = "string" suppress_top = 0 suppress_bottom = 2 } # from recip = { label = "$lang_stats.field_labels.recip" log_field = "recip" type = "string" suppress_top = 0 suppress_bottom = 2 } # recip } # database.fields # Log Filters log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'messages = 1;' } # mark_entry } # log.filters database.numerical_fields = { messages = { label = "$lang_stats.field_labels.messages" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # messages } # 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 = "" type = true rule = true object = true action = true mailbox = true folder = true subject = true from = true recip = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true sessions = true pageviews = true individualhosts = true } # not_supported } # nemx_powertools_for_exchange