# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. sas_firewall = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2011-07-14 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "SAS" info.1.device = "Firewall" info.1.version.1 = "" # The name of the log format log.format.format_label = "SAS Firewall" log.miscellaneous.log_data_type = "syslog_required" 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]+- <[^>]+> (src=|ip address changed|- user:)" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { type = "" src.type = "host" dst = "" proto = "" port = "" msg = "" } # log.fields # Log Parsing Filters log.parsing_filters = { parse = ` if (matches_regular_expression(v.syslog_message, '^-[0-9]+- <(FIREWALL)> src=([^ ]+) dst=([^ ]+) proto=([0-9]+)port=([0-9]+) msg : (.*)$')) then ( set_collected_field('', 'type', $1); set_collected_field('', 'src', $2); set_collected_field('', 'dst', $3); set_collected_field('', 'proto', $4); set_collected_field('', 'port', $5); set_collected_field('', 'msg', $6); accept_collected_entry('', false); ) ` } # log.parsing_filters # Database fields database.fields = { type = "" src = "" dst = "" proto = "" port = "" msg = "" } # 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 = 'events = 1;' } # mark_entry } # log.filters log.field_options = { sessions_page_field = "none" sessions_visitor_id_field = "src" sessions_event_field = "events" } # log.field_options database.numerical_fields = { events = { label = "$lang_stats.field_labels.events" default = false requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # events unique_source_ips = { label = "$lang_stats.field_labels.unique_source_ips" default = false requires_log_field = true log_field = "src" type = "unique" display_format_type = "integer" } # unique_source_ips } # database.numerical_fields create_profile_wizard_options = { host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" type = "" src = "" dst = "" proto = "" port = "" msg = "" } # report_groups } # create_profile_wizard_options } # sas_firewall