# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. interscan_virus_log = { plugin_version = "1.0" # 2010-10-01 - 1.0.1 - MSG - Edited info lines. info.1.manfacturer = "Trend Micro" info.1.device = "Interscan VirusWall" info.1.version.1 = "" # The name of the log format log.format.format_label = "Interscan Viruswall Virus 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 = "^Date: [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]$" # 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" # 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 method = { label = "$lang_stats.field_labels.method" type = "flat" index = 0 subindex = 0 } # method 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 action = { label = "$lang_stats.field_labels.action" type = "flat" index = 0 subindex = 0 } # action virus = { label = "$lang_stats.field_labels.virus" type = "flat" index = 0 subindex = 0 } # virus } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse date, time 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()Date: ([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')" } # 1 # Parse method field 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^()Method: ([^$]*)$', '*KEY*,method')" } # 2 # Parse from field 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('^()From: ([^$]*)$', '*KEY*,from')" } # 3 # Parse to field 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('^()To: ([^$]*)$', '*KEY*,to')" } # 4 # Parse file field 5 = { label = "5" comment = "" value = "collect_fields_using_regexp('^()File: ([^$]*)$', '*KEY*,file')" } # 5 # Parse action field 6 = { label = "6" comment = "" value = "collect_fields_using_regexp('^()Action: ([^$]*)$', '*KEY*,action')" } # 6 # Parse virus field 7 = { label = "7" comment = "" value = "collect_fields_using_regexp('^()Virus: ([^$]*)$', '*KEY*,virus')" } # 7 # Accept on --------------------- 8 = { label = "8" comment = "" value = "accept_collected_entry_using_regexp('^()----------------------------------', false)" } # 8 } # 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 method = { label = "$lang_stats.field_labels.method" log_field = "method" type = "string" suppress_top = 0 suppress_bottom = 2 } # method 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 action = { label = "$lang_stats.field_labels.action" log_field = "action" type = "string" suppress_top = 0 suppress_bottom = 2 } # action virus = { label = "$lang_stats.field_labels.virus" log_field = "virus" type = "string" suppress_top = 0 suppress_bottom = 2 } # virus } # 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 # How the reports should be grouped in the report menu report_groups = { date_time_group = "" method = true from = true to = true action = true virus = true } # report_groups } # create_profile_wizard_options not_supported = { bandwidth = true visitors = true sessions = true pageviews = true individualhosts = true } # not_supported } # interscan_virus_log