# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. watchguard_historical_reports_export = { # The name of the log format log.format.format_label = "Watchguard Historical Reports 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] [0-9]+:[0-9][0-9]:[0-9][0-9],[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+,[^,]*,[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+,[^,]*,[0-9]+/[^,]*,[^,]*,[^,]*,[0-9]+$" # Parse the lines with a regular expression log.format.parsing_regular_expression = "^([^,]+),([^,]+),([0-9]+/[0-9]+/[0-9][0-9][0-9][0-9]) ([0-9]+:[0-9][0-9]:[0-9][0-9]),([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+),([^,]*),([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+),([^,]*),([0-9]+/[^,]*),([^,]*),([^,]*|\"[^\"]*\"),([0-9]+)$" # Use auto format for date and time log.format.date_format = "auto" log.format.time_format = "auto" # Log fields log.fields = { type = "" direction = "" date = "" time = "" firebox_ip = "" unknown1 = "" client_ip.type = "host" unknown2 = "" protocol = "" unknown3 = "" message = "" bytes = "" } # log.fields # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" type = "" direction = "" firebox_ip = "" client_ip = "" protocol = "" message = "" bytes = "" } # 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 = '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 unique_client_ips = { label = "$lang_stats.field_labels.unique_client_ips" default = false requires_log_field = true log_field = "client_ip" type = "unique" display_format_type = "integer" } # unique_client_ips 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 = "" type = true direction = true firebox_ip = true client_ip = true protocol = true message = true bytes = true } # report_groups } # create_profile_wizard_options } # watchguard_historical_reports_export