# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. gfiattachment_content = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-11-19 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "GFI" info.1.device = "MailSecurity Attachment & Content Filter" info.1.version.1 = "" # The name of the log format log.format.format_label = "GFI Attachment & Content 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]+/[0-9]+/[0-9]+ [0-9]+:[0-9]+:[0-9]+ [AP]M\",[^,]*,\"[^,]*,\"[^,]*,\"[^,]*,\"[^,]*$" # The format of dates and times in this log log.format.date_format = "m/d/yyyy" log.format.time_format = "h:mm:ss AM/PM" # This regular expression is used to parse the log fields out of the log entry log.format.parsing_regular_expression = "^\"([0-9]+/[0-9]+/[0-9]+) ([0-9]+:[0-9]+:[0-9]+ [AP]M)\",([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)$" # 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 user = { label = "$lang_stats.field_labels.user" type = "flat" index = 0 subindex = 0 } # user log_type = { label = "$lang_stats.field_labels.log_type" type = "flat" index = 0 subindex = 0 } # log_type action = { label = "$lang_stats.field_labels.action" type = "flat" index = 0 subindex = 0 } # action rule = { label = "$lang_stats.field_labels.rule" type = "flat" index = 0 subindex = 0 } # rule file = { label = "$lang_stats.field_labels.file" type = "flat" index = 0 subindex = 0 } # file } # log.fields # 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 user = { label = "$lang_stats.field_labels.user" log_field = "user" type = "string" suppress_top = 0 suppress_bottom = 9 } # user log_type = { label = "$lang_stats.field_labels.log_type" log_field = "log_type" type = "string" suppress_top = 0 suppress_bottom = 2 } # log_type action = { label = "$lang_stats.field_labels.action" log_field = "action" type = "string" suppress_top = 0 suppress_bottom = 2 } # action rule = { label = "$lang_stats.field_labels.rule" log_field = "rule" type = "string" suppress_top = 0 suppress_bottom = 2 } # rule file = { label = "$lang_stats.field_labels.file" log_field = "file" type = "string" suppress_top = 0 suppress_bottom = 2 } # file } # database.fields # # Log Parsing Filters log.parsing_filters = { # This filter replaces the QUOTE characters with NULL characters # 1 = { # label = "1" # comment = "" # value = "file = replace_all(file, '\"', '');" # } # 1 # This filter replaces the QUOTE characters with NULL characters # 2 = { # label = "2" # comment = "" # value = "url = replace_all(url, '\"', '');" # } # 2 mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'messages = 1;' } # mark_entry } # log.parsing_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 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 create_profile_wizard_options = { date_time_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" user = true log_type = true action = true rule = true file = true } # report_groups } # create_profile_wizard_options not_supported = { individualhosts = true sessions = true bandwidth = true visitors = true pageviews = true } # not_supported } # gfiattachment_content