firewall1_fw_log_ftn_export = { # The name of the log format log.format.format_label = "Firewall-1 (fw log -ftn 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] (drop|accept|reject) *[0-9\\.]+ >[a-z0-9]+ (product|src|s_port|dst|service|proto|rule): " # The format of dates and times in this log log.format.global_date_regular_expression = "Date: (.*)" log.format.date_format = "mmm/dd/yyyy" log.format.time_format = "h:mm:ss" # parse this log with parsing filters only log.format.parse_only_with_filters = "true" # the name of an entry in this log statistics.miscellaneous.entry_name = "accesses" # 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 host = { label = "$lang_stats.field_labels.host" type = "flat" index = 0 subindex = 0 } # host interface = { label = "$lang_stats.field_labels.interface" type = "flat" index = 0 subindex = 0 } # interface product = { label = "$lang_stats.field_labels.product" type = "flat" index = 0 subindex = 0 } # product source = { label = "$lang_stats.field_labels.source" type = "flat" index = 0 subindex = 0 } # source source_port = { label = "$lang_stats.field_labels.source_port" type = "flat" index = 0 subindex = 0 } # source_port destination = { label = "$lang_stats.field_labels.destination" type = "flat" index = 0 subindex = 0 } # destination service = { label = "$lang_stats.field_labels.service" type = "flat" index = 0 subindex = 0 } # service 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 message_info = { label = "$lang_stats.field_labels.message_info" type = "flat" index = 0 subindex = 0 } # message_info } # log.fields # 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 host = { label = "$lang_stats.field_labels.host" log_field = "host" type = "string" suppress_top = 0 suppress_bottom = 2 } # host interface = { label = "$lang_stats.field_labels.interface" log_field = "interface" type = "string" suppress_top = 0 suppress_bottom = 2 } # interface product = { label = "$lang_stats.field_labels.product" log_field = "product" type = "string" suppress_top = 0 suppress_bottom = 2 } # product source = { label = "$lang_stats.field_labels.source" log_field = "source" type = "string" suppress_top = 0 suppress_bottom = 3 } # source source_port = { label = "$lang_stats.field_labels.source_port" log_field = "source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_port destination = { label = "$lang_stats.field_labels.destination" log_field = "destination" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol service = { label = "$lang_stats.field_labels.service" log_field = "service" type = "string" suppress_top = 0 suppress_bottom = 2 } # service rule = { label = "$lang_stats.field_labels.rule" log_field = "rule" type = "string" suppress_top = 0 suppress_bottom = 2 } # rule message_info = { label = "$lang_stats.field_labels.message_info" log_field = "message_info" type = "string" suppress_top = 0 suppress_bottom = 2 } # message_info } # database.fields # # Log Parsing Filters log.parsing_filters = { # Parse lines without a space at the start of line 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()([0-9]*:[0-9]*:[0-9]*) *([a-z]*) *([0-9]*\\\\.[0-9]*\\\\.[0-9]*\\\\.[0-9]*) *>([a-z0-9]*)', '*KEY*,time,action,host,interface')" } # 1 # Parse line with a space at start of line 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^() ([0-9]*:[0-9]*:[0-9]*) *([a-z]*) *([0-9]*\\\\.[0-9]*\\\\.[0-9]*\\\\.[0-9]*) *>([a-z0-9]*)', '*KEY*,time,action,host,interface')" } # 2 # Parse out the ; devided, : separated fields 3 = { label = "3" comment = "" value = "collect_listed_fields_using_regexp('()>[a-z0-9]*[ a-z]* (.*)$', '; ', ': ', '')" } # 3 # Accept collected entry 4 = { label = "4" comment = "" value = "accept_collected_entry_using_regexp('()', false)" } # 4 } # log.parsing_filters # Specifies one filter to accept or reject log entries # Format: lf # Log Filters log.filters = { 1 = "rule = replace_last(rule, ';', ''); message_info = replace_last(message_info, ';', '');" mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'accesses = 1;' } # mark_entry } # log.filters database.numerical_fields = { accesses = { label = "$lang_stats.field_labels.accesses" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # accesses } # database.numerical_fields create_profile_wizard_options = { date_time_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 action = true host = true interface = true product = true source = true source_port = true destination = true protocol = true service = true rule = true message_info = true } # report_groups } # create_profile_wizard_options not_supported = { sessions = true pageviews = true bandwidth = true visitors = true } # not_supported } # firewall1_fw_log_ftn_export