# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. norton_personal_fw2003_connection = { # The name of the log format log.format.format_label = "Norton Personal Firewall 2003 Connection 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 = "^Connections Event Log$" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Entries are called accesses statistics.miscellaneous.entry_name = "accesses" # Automatic date and time formats log.format.date_format = "auto" log.format.time_format = "auto" # 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_ip = { label = "$lang_stats.field_labels.source_ip" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source_ip source_hostname = { label = "$lang_stats.field_labels.source_hostname" type = "flat" index = 0 subindex = 0 } # source_hostname source_port = { label = "$lang_stats.field_labels.source_port" type = "flat" index = 0 subindex = 0 } # source_port destination_ip = { label = "$lang_stats.field_labels.destination_ip" type = "flat" index = 0 subindex = 0 } # destination_ip destination_hostname = { label = "$lang_stats.field_labels.destination_hostname" type = "flat" index = 0 subindex = 0 } # destination_hostname destination_port = { label = "$lang_stats.field_labels.destination_port" type = "flat" index = 0 subindex = 0 } # destination_port bytes_received = { label = "$lang_stats.field_labels.bytes_received" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes_received bytes_sent = { label = "$lang_stats.field_labels.bytes_sent" type = "flat" index = 0 subindex = 0 } # bytes_sent elapsed_time = { label = "$lang_stats.field_labels.elapsed_time" type = "flat" index = 0 subindex = 0 } # elapsed_time } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the Supervisor Connection lines 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()([0-9]+/[0-9]+/[0-9]+) ([0-9]+:[0-9]+:[0-9]+) Supervisor Connection: ([^:]+): ([^ ]+) from ([^:]+): ([^ ]+), ([0-9]+) bytes sent, ([0-9]+) bytes received, ([0-9:.]+) elapsed time', '*KEY*,date,time,destination_ip,destination_port,source_ip,source_port,bytes_sent,bytes_received,elapsed_time')" } # 1 # Parse resolved destination hostnames 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('()Supervisor Connection: ([^0-9][^)]+)\\\\(([0-9.]+)\\\\)', '*KEY*,destination_hostname,destination_ip')" } # 2 # Parse resolved source hostnames 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('() from ([^0-9][^)]+)\\\\(([0-9.]+)\\\\)', '*KEY*,source_hostname,source_ip')" } # 3 # Accept this entry 4 = { label = "4" comment = "" value = "accept_collected_entry_using_regexp('() Supervisor Connection', false)" } # 4 } # 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_ip = { label = "$lang_stats.field_labels.source_ip" log_field = "source_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_ip source_hostname = { label = "$lang_stats.field_labels.source_hostname" log_field = "source_hostname" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_hostname source_port = { label = "$lang_stats.field_labels.source_port" log_field = "source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_port destination_ip = { label = "$lang_stats.field_labels.destination_ip" log_field = "destination_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_ip destination_hostname = { label = "$lang_stats.field_labels.destination_hostname" log_field = "destination_hostname" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_hostname destination_port = { label = "$lang_stats.field_labels.destination_port" log_field = "destination_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_port } # database.fields # Log Filters log.filters = { # Use "source IP" as the visitor id 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 visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "source_ip" type = "unique" display_format_type = "integer" } # visitors bytes_received = { label = "$lang_stats.field_labels.bytes_received" default = false requires_log_field = true log_field = "bytes_received" type = "float" display_format_type = "bandwidth" } # bytes_received } # 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 = "" source_ip = true source_hostname = true source_port = true destination_ip = true destination_hostname = true destination_port = true } # report_groups } # create_profile_wizard_options not_supported = { pageviews = true sessionpages = true } # not_supported } # norton_personal_fw2003_connection