gauntlet_yyyymmdd = { # The name of the log format log.format.format_label = "Gauntlet Log Format (yyyy-mm-dd dates)" log.miscellaneous.log_data_type = "firewall" log.miscellaneous.log_format_type = "firewall" statistics.miscellaneous.entry_name = "requests" # 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] [a-z0-9]*: " # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # The format of dates and times in this log log.format.date_format = "yyyy-mm-dd" log.format.time_format = "hh: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 protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 0 subindex = 0 } # protocol source_hostname = { label = "$lang_stats.field_labels.source_hostname" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source_hostname destination_hostname = { label = "$lang_stats.field_labels.destination_hostname" type = "flat" index = 0 subindex = 0 } # destination_hostname message = { label = "$lang_stats.field_labels.message" type = "flat" index = 0 subindex = 0 } # message } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse the basic information 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()<[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]) ([a-z0-9]*): ', '*KEY*,date,time,protocol')" } # 1 # Parse src from the line 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('()(SrcHost|src|host)=([^ ]*)', '*KEY*,dummy,source_hostname')" } # 2 # Parse dest from the line 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('()(DstHost|dest|destination)=([^ ]*)', '*KEY*,dummy,destination_hostname')" } # 3 # Parse message 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('()(Error: .*|permitted by policy: .*|disconnected|connection reset by peer|securityalert: [^=]*=|smtp: [a-z]*)', '*KEY*,message')" } # 4 # Accept the collected entry when there is an SMTP line 5 = { label = "5" comment = "" value = "accept_collected_entry_using_regexp('()', false)" } # 5 } # 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 protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol source_hostname = { label = "$lang_stats.field_labels.source_hostname" log_field = "source_hostname" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_hostname destination_hostname = { label = "$lang_stats.field_labels.destination_hostname" log_field = "destination_hostname" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_hostname message = { label = "$lang_stats.field_labels.message" log_field = "message" type = "string" suppress_top = 0 suppress_bottom = 2 } # message } # 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 = 'requests = 1;' } # mark_entry } # log.filters database.numerical_fields = { requests = { label = "$lang_stats.field_labels.requests" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # requests visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "source_hostname" type = "unique" display_format_type = "integer" } # visitors } # 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 protocol = true source_hostname = true destination_hostname = true message = true } # report_groups } # create_profile_wizard_options not_supported = { bandwidth = true sessions = true pageviews = true } # not_supported } # gauntlet_yyyymmdd