# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. firebox = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-11-09 - 1.0.1 - MSG - Edited info lines. info.1.manfacturer = "WatchGuard" info.1.device = "Firebox" info.1.version.1 = "" # Firebox # The name of the log format log.format.format_label = "Firebox 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 = "TO [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" # Log fields log.fields = { source_ip = { label = "$lang_stats.field_labels.source_ip" type = "flat" index = 0 subindex = 0 } # source_ip destination_ip = { label = "$lang_stats.field_labels.destination_ip" type = "flat" index = 0 subindex = 0 } # destination_ip operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation direction = { label = "$lang_stats.field_labels.direction" type = "flat" index = 0 subindex = 0 } # direction interface = { label = "$lang_stats.field_labels.interface" type = "flat" index = 0 subindex = 0 } # interface protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 0 subindex = 0 } # protocol message = { label = "$lang_stats.field_labels.message" type = "flat" index = 0 subindex = 0 } # message } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the source IP 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('() iked.*: FROM ([0-9.]*) ', '*KEY*,source_ip')" } # 1 # Parse out the destination IP 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('() iked.*: TO ([0-9.]*) ', '*KEY*,destination_ip')" } # 2 # Parse out the Sending message 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('() iked.*: (Sending.*)$', '*KEY*,message')" } # 3 # Parse the firewalld line 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('() firewalld.*: (deny) ([^ ]*) ([^ ]*) [0-9]* ([^ ]*) [0-9]* [0-9]* ([0-9.]*) ([0-9.]*) ', '*KEY*,operation,direction,interface,protocol,source_ip,destination_ip')" } # 4 # Accept firewalld log entry 5 = { label = "5" comment = "" value = "accept_collected_entry_using_regexp('() firewalld.*: deny ', false)" } # 5 # Accept iked TO log entry 6 = { label = "6" comment = "" value = "accept_collected_entry_using_regexp('() iked.*: TO ', false)" } # 6 } # log.parsing_filters # Database fields database.fields = { operation = { label = "$lang_stats.field_labels.operation" log_field = "operation" type = "string" suppress_top = 0 suppress_bottom = 2 } # operation direction = { label = "$lang_stats.field_labels.direction" log_field = "direction" type = "string" suppress_top = 0 suppress_bottom = 2 } # direction protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol source_ip = { label = "$lang_stats.field_labels.source_ip" log_field = "source_ip" type = "string" suppress_top = 0 suppress_bottom = 9 } # source_ip destination_ip = { label = "$lang_stats.field_labels.destination_ip" log_field = "destination_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_ip interface = { label = "$lang_stats.field_labels.interface" log_field = "interface" type = "string" suppress_top = 0 suppress_bottom = 2 } # interface message = { label = "$lang_stats.field_labels.message" log_field = "message" type = "string" suppress_top = 0 suppress_bottom = 2 } # message } # database.fields 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 } # database.numerical_fields 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 create_profile_wizard_options = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" operation = true direction = true protocol = true source_ip = true destination_ip = true interface = true message = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true bandwidth = true individualhosts = true sessions = true pageviews = true } # not_supported } # firebox