watchguard_welf = { # The name of the log format log.format.format_label = "Watchguard WELF Log Format" log.miscellaneous.log_data_type = "syslog_required" 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 = "<[0-9]+>id=[^ ]+ time=.[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]. fw=" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { id = { label = "$lang_stats.field_labels.id" type = "flat" index = 0 subindex = 0 } # id fw = { label = "$lang_stats.field_labels.fw" type = "flat" index = 0 subindex = 0 } # fw pri = { label = "$lang_stats.field_labels.pri" type = "flat" index = 0 subindex = 0 } # pri rule = { label = "$lang_stats.field_labels.rule" type = "flat" index = 0 subindex = 0 } # rule 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 proto = { label = "$lang_stats.field_labels.proto" type = "flat" index = 0 subindex = 0 } # proto sport = { label = "$lang_stats.field_labels.sport" type = "flat" index = 0 subindex = 0 } # sport dport = { label = "$lang_stats.field_labels.dport" type = "flat" index = 0 subindex = 0 } # dport indev = { label = "$lang_stats.field_labels.indev" type = "flat" index = 0 subindex = 0 } # indev inport = { label = "$lang_stats.field_labels.inport" type = "flat" index = 0 subindex = 0 } # inport rc = { label = "$lang_stats.field_labels.rc" type = "flat" index = 0 subindex = 0 } # rc msg = { label = "$lang_stats.field_labels.msg" type = "flat" index = 0 subindex = 0 } # msg } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the =separated space divided fileds 1 = { label = "1" comment = "" value = "collect_listed_fields_using_regexp('()(id=.*)$', ' ', '=', 'time=welftime')" } # 1 # Accept the collected field 2 = { label = "2" comment = "" value = "accept_collected_entry_using_regexp('()', false)" } # 2 } # log.parsing_filters # Database fields database.fields = { id = { label = "$lang_stats.field_labels.id" log_field = "id" type = "string" suppress_top = 0 suppress_bottom = 2 } # id fw = { label = "$lang_stats.field_labels.fw" log_field = "fw" type = "string" suppress_top = 0 suppress_bottom = 2 } # fw pri = { label = "$lang_stats.field_labels.pri" log_field = "pri" type = "string" suppress_top = 0 suppress_bottom = 2 } # pri rule = { label = "$lang_stats.field_labels.rule" log_field = "rule" type = "string" suppress_top = 0 suppress_bottom = 2 } # rule src = { label = "$lang_stats.field_labels.src" log_field = "src" type = "string" suppress_top = 0 suppress_bottom = 2 } # src location = { label = "$lang_stats.field_labels.location" log_field = "location" type = "string" suppress_top = 0 suppress_bottom = 2 } # location dst = { label = "$lang_stats.field_labels.dst" log_field = "dst" type = "string" suppress_top = 0 suppress_bottom = 2 } # dst proto = { label = "$lang_stats.field_labels.proto" log_field = "proto" type = "string" suppress_top = 0 suppress_bottom = 2 } # proto sport = { label = "$lang_stats.field_labels.sport" log_field = "sport" type = "string" suppress_top = 0 suppress_bottom = 2 } # sport dport = { label = "$lang_stats.field_labels.dport" log_field = "dport" type = "string" suppress_top = 0 suppress_bottom = 2 } # dport indev = { label = "$lang_stats.field_labels.indev" log_field = "indev" type = "string" suppress_top = 0 suppress_bottom = 2 } # indev inport = { label = "$lang_stats.field_labels.inport" log_field = "inport" type = "string" suppress_top = 0 suppress_bottom = 2 } # inport rc = { label = "$lang_stats.field_labels.rc" log_field = "rc" type = "string" suppress_top = 0 suppress_bottom = 2 } # rc msg = { label = "$lang_stats.field_labels.msg" log_field = "msg" type = "string" suppress_top = 0 suppress_bottom = 2 } # msg } # 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 } # database.numerical_fields create_profile_wizard_options = { host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" id = true fw = true pri = true rule = true src = true location = true dst = true proto = true sport = true dport = true indev = true inport = true rc = true msg = true } # report_groups } # create_profile_wizard_options not_supported = { sessions = true bandwidth = true pageviews = true } # not_supported } # watchguard_welf