# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. firewall1_webtrends = { info.1.manufacturer = "Webtrends" info.1.device = "firewall" info.1.version = "WebTrends Firewall Suite 3.0" #? # The name of the log format log.format.format_label = "Firewall1 Webtrends Log Format " log.miscellaneous.log_data_type = "firewall" log.miscellaneous.log_format_type = "firewall" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "^datetime=[0-9 ]+[A-Z][a-z][a-z][0-9]+ *[0-9:]+ action=[a-z]+ fw_name=fw1" # The format of dates and times in this log log.format.date_format = "ddmmmyyyy" log.format.time_format = "h:mm:ss" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" database.parameters.omit_ip_numbers_from_host_hierarchy = "false" # 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 action = { label = "$lang_stats.field_labels.action" type = "flat" index = 0 subindex = 0 } # action fw_name = { label = "$lang_stats.field_labels.fw_name" type = "flat" index = 0 subindex = 0 } # fw_name dir = { label = "$lang_stats.field_labels.dir" type = "flat" index = 0 subindex = 0 } # dir src = { label = "$lang_stats.field_labels.src" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # src dst = { label = "$lang_stats.field_labels.dst" type = "flat" index = 0 subindex = 0 } # dst bytes = { label = "$lang_stats.field_labels.bytes" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes rule = { label = "$lang_stats.field_labels.rule" type = "flat" index = 0 subindex = 0 } # rule proto = { label = "$lang_stats.field_labels.proto" type = "flat" index = 0 subindex = 0 } # proto } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the date/time 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('()^datetime=([0-9 ]+[A-Z][a-z][a-z][0-9]+) *([0-9:]+)', '*KEY*,date,time')" } # 1 # Parse out the =seperated space divided fileds 2 = { label = "2" comment = "" value = "collect_listed_fields_using_regexp('()(action=.*)$', ' ', '=', '')" } # 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 action = { label = "$lang_stats.field_labels.action" log_field = "action" type = "string" suppress_top = 0 suppress_bottom = 2 } # action fw_name = { label = "$lang_stats.field_labels.fw_name" log_field = "fw_name" type = "string" suppress_top = 0 suppress_bottom = 2 } # fw_name dir = { label = "$lang_stats.field_labels.dir" log_field = "dir" type = "string" suppress_top = 0 suppress_bottom = 2 } # dir src = { label = "$lang_stats.field_labels.src" log_field = "src" type = "string" suppress_top = 0 suppress_bottom = 2 } # src dst = { label = "$lang_stats.field_labels.dst" log_field = "dst" type = "string" suppress_top = 0 suppress_bottom = 2 } # dst rule = { label = "$lang_stats.field_labels.rule" log_field = "rule" type = "string" suppress_top = 0 suppress_bottom = 2 } # rule proto = { label = "$lang_stats.field_labels.proto" log_field = "proto" type = "string" suppress_top = 0 suppress_bottom = 2 } # proto } # 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 = '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 visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "src" type = "unique" display_format_type = "integer" } # visitors bytes = { label = "$lang_stats.field_labels.bytes" default = false requires_log_field = true log_field = "bytes" type = "float" display_format_type = "bandwidth" } # bytes } # database.numerical_fields create_profile_wizard_options = { date_time_tracking = true host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" action = true fw_name = true dir = true src = true dst = true rule = true proto = true } # report_groups } # create_profile_wizard_options not_supported = { pageviews = true sessions = true } # not_supported } # firewall1_webtrends