firewall1_fw_log = { # The name of the log format log.format.format_label = "Firewall-1 (fw log export) 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 = "^[0-9][0-9]:[0-9][0-9]:[0-9][0-9] [a-z]* *[^ ]* [><][a-z0-9]* (len|s_port|service|rule|proto|dst|src) " # The format of dates and times in this log log.format.time_format = "hh:mm:ss" log.format.date_format = "mmm dd yyyy" # Extract date from Date: lines log.format.global_date_regular_expression = "^Date: ([A-Z][a-z][a-z] [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" # 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 source = { label = "$lang_stats.field_labels.source" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source destination = { label = "$lang_stats.field_labels.destination" type = "flat" index = 0 subindex = 0 } # destination operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 0 subindex = 0 } # protocol rule = { label = "$lang_stats.field_labels.rule" type = "flat" index = 0 subindex = 0 } # rule length = { label = "$lang_stats.field_labels.length" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # length service = { label = "$lang_stats.field_labels.service" type = "flat" index = 0 subindex = 0 } # service s_port = { label = "$lang_stats.field_labels.s_port" type = "integer" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # s_port } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out all the beginning fields 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()(..:..:..) ([a-z]*) * ([^ ]*) ', '*KEY*,time,operation,firewall')" } # 1 # Parse out the source field 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('() src ([^ ]*)', '*KEY*,source')" } # 2 # Parse out the destination field 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('() dst ([^ ]*)', '*KEY*,destination')" } # 3 # Parse out the protocol field 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('() proto ([^ ]*)', '*KEY*,protocol')" } # 4 # Parse out the rule field 5 = { label = "5" comment = "" value = "collect_fields_using_regexp('() rule ([^ ]*)', '*KEY*,rule')" } # 5 # Parse out the service field 6 = { label = "6" comment = "" value = "collect_fields_using_regexp('() service ([^ ]*)', '*KEY*,service')" } # 6 # Parse out the s_port field 7 = { label = "7" comment = "" value = "collect_fields_using_regexp('() s_port ([^ ]*)', '*KEY*,s_port')" } # 7 # Parse out the length field 8 = { label = "8" comment = "" value = "collect_fields_using_regexp('() len ([^ ]*)', '*KEY*,length')" } # 8 # Accept every log line which has a src 9 = { label = "9" comment = "" value = "accept_collected_entry_using_regexp(' src ', false)" } # 9 } # 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 source = { label = "$lang_stats.field_labels.source" log_field = "source" type = "string" suppress_top = 0 suppress_bottom = 3 } # source destination = { label = "$lang_stats.field_labels.destination" log_field = "destination" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination operation = { label = "$lang_stats.field_labels.operation" log_field = "operation" type = "string" suppress_top = 0 suppress_bottom = 2 } # operation protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol rule = { label = "$lang_stats.field_labels.rule" log_field = "rule" type = "string" suppress_top = 0 suppress_bottom = 2 } # rule service = { label = "$lang_stats.field_labels.service" log_field = "service" type = "string" suppress_top = 0 suppress_bottom = 2 } # service s_port = { label = "$lang_stats.field_labels.s_port" log_field = "s_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # s_port } # 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 = false requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # hits page_views = { label = "$lang_stats.field_labels.page_views" default = true requires_log_field = false type = "int" display_format_type = "integer" } # page_views visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "source" type = "unique" display_format_type = "integer" } # visitors length = { label = "$lang_stats.field_labels.length" default = false requires_log_field = true log_field = "length" type = "float" display_format_type = "bandwidth" } # length } # 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 = "" day_of_week = true hour_of_day = true source = true destination = true operation = true protocol = true rule = true service = true s_port = true } # report_groups } # create_profile_wizard_options not_supported = { } # not_supported } # firewall1_fw_log