# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. firewall1_text = { statistics.miscellaneous.entry_name = "packets" plugin_version = 1.1 # 2010-10-06 - 1.1 - MSG - Edited info lines. info.1.manfacturer = "Checkpoint" info.1.device = "Firewall-1 (text export)" info.1.version.1 = "NG (text export)" # The name of the log format log.format.format_label = "Firewall-1 Text 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]*[A-Z][a-z][a-z][0-9][0-9][0-9][0-9])\" \"([0-9 ][0-9]:[0-9][0-9]:[0-9][0-9])\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" $" # This regular expression is used to parse the log fields out of the log entry log.format.parsing_regular_expression = "^\"[0-9]*\" \"([0-9][0-9]*[A-Z][a-z][a-z][0-9][0-9][0-9][0-9])\" \"([0-9 ][0-9]:[0-9][0-9]:[0-9][0-9])\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" $" # The format of dates and times in this log log.format.date_format = "ddmmmyyyy" log.format.time_format = "h:mm:ss" # 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 interface = { label = "$lang_stats.field_labels.interface" type = "flat" index = 0 subindex = 0 } # interface origin = { label = "$lang_stats.field_labels.origin" type = "flat" index = 0 subindex = 0 } # origin type = { label = "$lang_stats.field_labels.type" type = "flat" index = 0 subindex = 0 } # type action = { label = "$lang_stats.field_labels.action" type = "flat" index = 0 subindex = 0 } # action service = { label = "$lang_stats.field_labels.service" type = "flat" index = 0 subindex = 0 } # service source_host = { label = "$lang_stats.field_labels.source_host" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source_host destination_host = { label = "$lang_stats.field_labels.destination_host" type = "flat" index = 0 subindex = 0 } # destination_host 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 source_port = { label = "$lang_stats.field_labels.source_port" type = "flat" index = 0 subindex = 0 } # source_port authenticated_user = { label = "$lang_stats.field_labels.authenticated_user" type = "flat" index = 0 subindex = 0 } # authenticated_user source_key_id = { label = "$lang_stats.field_labels.source_key_id" type = "flat" index = 0 subindex = 0 } # source_key_id destination_key_id = { label = "$lang_stats.field_labels.destination_key_id" type = "flat" index = 0 subindex = 0 } # destination_key_id elapsed = { label = "$lang_stats.field_labels.elapsed" type = "flat" index = 0 subindex = 0 } # elapsed bytes = { label = "$lang_stats.field_labels.bytes" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes translated_source = { label = "$lang_stats.field_labels.translated_source" type = "flat" index = 0 subindex = 0 } # translated_source translated_destination = { label = "$lang_stats.field_labels.translated_destination" type = "flat" index = 0 subindex = 0 } # translated_destination translated_source_port = { label = "$lang_stats.field_labels.translated_source_port" type = "flat" index = 0 subindex = 0 } # translated_source_port translated_destination_port = { label = "$lang_stats.field_labels.translated_destination_port" type = "flat" index = 0 subindex = 0 } # translated_destination_port product = { label = "$lang_stats.field_labels.product" type = "flat" index = 0 subindex = 0 } # product info = { label = "$lang_stats.field_labels.info" type = "flat" index = 0 subindex = 0 } # 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 interface = { label = "$lang_stats.field_labels.interface" log_field = "interface" type = "string" suppress_top = 0 suppress_bottom = 2 } # interface origin = { label = "$lang_stats.field_labels.origin" log_field = "origin" type = "string" suppress_top = 0 suppress_bottom = 2 } # origin type = { label = "$lang_stats.field_labels.type" log_field = "type" type = "string" suppress_top = 0 suppress_bottom = 2 } # type action = { label = "$lang_stats.field_labels.action" log_field = "action" type = "string" suppress_top = 0 suppress_bottom = 2 } # action service = { label = "$lang_stats.field_labels.service" log_field = "service" type = "string" suppress_top = 0 suppress_bottom = 2 } # service source_host = { label = "$lang_stats.field_labels.source_host" log_field = "source_host" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_host destination_host = { label = "$lang_stats.field_labels.destination_host" log_field = "destination_host" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_host 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 source_port = { label = "$lang_stats.field_labels.source_port" log_field = "source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_port authenticated_user = { label = "$lang_stats.field_labels.authenticated_user" log_field = "authenticated_user" type = "string" suppress_top = 0 suppress_bottom = 2 } # authenticated_user source_key_id = { label = "$lang_stats.field_labels.source_key_id" log_field = "source_key_id" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_key_id destination_key_id = { label = "$lang_stats.field_labels.destination_key_id" log_field = "destination_key_id" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_key_id translated_source = { label = "$lang_stats.field_labels.translated_source" log_field = "translated_source" type = "string" suppress_top = 0 suppress_bottom = 2 } # translated_source translated_destination = { label = "$lang_stats.field_labels.translated_destination" log_field = "translated_destination" type = "string" suppress_top = 0 suppress_bottom = 2 } # translated_destination translated_source_port = { label = "$lang_stats.field_labels.translated_source_port" log_field = "translated_source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # translated_source_port translated_destination_port = { label = "$lang_stats.field_labels.translated_destination_port" log_field = "translated_destination_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # translated_destination_port product = { label = "$lang_stats.field_labels.product" log_field = "product" type = "string" suppress_top = 0 suppress_bottom = 2 } # product info = { label = "$lang_stats.field_labels.info" log_field = "info" type = "string" suppress_top = 0 suppress_bottom = 2 } # info } # 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 = 'packets = 1;' } # mark_entry } # log.filters database.numerical_fields = { packets = { label = "$lang_stats.field_labels.packets" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # packets visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "source_host" 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 = "" interface = true origin = true type = true action = true service = true source_host = true destination_host = true protocol = true rule = true source_port = true authenticated_user = true source_key_id = true destination_key_id = true translated_source = true translated_destination = true translated_source_port = true translated_destination_port = true product = true info = true } # report_groups } # create_profile_wizard_options not_supported = { sessions = true pageviews = true } # not_supported } # firewall1_text