# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. interscan_email_viruswall = { plugin_version = "1.0" # 2010-10-01 - 1.0.1 - MSG - Edited info lines. info.1.manfacturer = "TrendMicro" info.1.device = "Interscan Email VirusWall" info.1.version.1 = "" # The name of the log format log.format.format_label = "Interscan E-mail Viruswall Log Format" log.miscellaneous.log_data_type = "mail_server" log.miscellaneous.log_format_type = "network_device" # 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] Iscan-maild" # 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 = "mm/dd/yyyy" log.format.time_format = "hh:mm:ss" # Entries are called messages statistics.miscellaneous.entry_name = "messages" # 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 from = { label = "$lang_stats.field_labels.from" type = "flat" index = 0 subindex = 0 } # from to = { label = "$lang_stats.field_labels.to" type = "flat" index = 0 subindex = 0 } # to mime_part = { label = "$lang_stats.field_labels.mime_part" type = "flat" index = 0 subindex = 0 } # mime_part virus = { label = "$lang_stats.field_labels.virus" type = "flat" index = 0 subindex = 0 } # virus operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse date, time, from field 1 = { label = "1" 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]) Iscan-maild[^:]*: Message from: <([^>]*)>', '*KEY*,date,time,from')" } # 1 # Parse to field 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] Iscan-maild[^:]*: Message to: ([^$]*)$', '*KEY*,to')" } # 2 # Parse operation 3 = { label = "3" 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] Iscan-maild[^:]*: (Forwarding mail|Delivering mail|Content filter has blocked a sensitive mail)', '*KEY*,operation')" } # 3 # Accept on operation 4 = { label = "4" comment = "" value = "accept_collected_entry_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] Iscan-maild[^:]*: (Forwarding mail|Delivering mail|Content filter has blocked a sensitive mail)', false)" } # 4 # Parse EMAIL lines (e.g. viruses) parse_virus = { label = "parse virus" comment = "" value = "collect_fields_using_regexp('^()EMAIL\\\\\\\\([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,to,from,mime_part,operation,virus')" } # parse_virus # Accept EMAIL lines accept_virus = { label = "accept virus" comment = "" value = "accept_collected_entry_using_regexp('^()EMAIL\\\\\\\\', false)" } # accept_virus } # 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 from = { label = "$lang_stats.field_labels.from" log_field = "from" type = "string" suppress_top = 0 suppress_bottom = 2 } # from to = { label = "$lang_stats.field_labels.to" log_field = "to" type = "string" suppress_top = 0 suppress_bottom = 2 } # to mime_part = { label = "$lang_stats.field_labels.mime_part" log_field = "mime_part" type = "string" suppress_top = 0 suppress_bottom = 2 } # mime_part virus = { label = "$lang_stats.field_labels.virus" log_field = "virus" type = "string" suppress_top = 0 suppress_bottom = 2 } # virus operation = { label = "$lang_stats.field_labels.operation" log_field = "operation" type = "string" suppress_top = 0 suppress_bottom = 2 } # operation } # database.fields 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 = "" from = true to = true operation = true mime_part = true virus = true } # report_groups } # create_profile_wizard_options not_supported = { bandwidth = true visitors = true sessions = true pageviews = true individualhosts = true } # not_supported } # interscan_email_viruswall