# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. foundry = { plugin_version = "1.1" # 2006-11-27 - KBB - 1.0beta - initial creation # 2007-09-14 - 1.0 - KBB - renumbered per new beta policy # 2010-10-05 - 1.1 - MSG - Edited info lines. info.1.manfacturer = "Foundry Networks" info.1.device = "ServerIron Switch" info.1.version = "" info.2.manfacturer = "Brocade" info.2.device = "ServerIron Switch" info.2.version = "" # The name of the log format log.format.format_label = "Foundry Networks Log Format" log.miscellaneous.log_data_type = "syslog_required" log.miscellaneous.log_format_type = "network_device" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = ", list [^ ]+ denied [a-z]+ [0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\([^)]*\\)\\([^)]+\\) -> [0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\([^)]*\\)" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { list = "" operation = "" protocol = "" source_ip.type = "host" source_port = "" destination_ip = "" destination_port = "" interface = "" } # log.fields # Log Parsing Filters log.parsing_filters.parse = ` if (matches_regular_expression(v.syslog_message, 'list ([^ ]+) ([^ ]+) ([a-z]+) ([0-9.]+)\\\\(([^)]*)\\\\)\\\\(([^)]+)\\\\) -> ([0-9.]+)\\\\(([^)]*)\\\\)')) then ( set_collected_field('', 'list', $1); set_collected_field('', 'operation', $2); set_collected_field('', 'protocol', $3); set_collected_field('', 'source_ip', $4); set_collected_field('', 'source_port', $5); set_collected_field('', 'interface', $6); set_collected_field('', 'destination_ip', $7); set_collected_field('', 'destination_port', $8); ); accept_collected_entry('', false); ` # log.parsing_filters # 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 # Database fields database.fields = { list = "" operation = "" protocol = "" source_ip = "" source_port = "" destination_ip = "" destination_port = "" interface = "" } # database.fields database.numerical_fields = { events = { default = true requires_log_field = false entries_field = true } # events } # database.numerical_fields create_profile_wizard_options = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" } # report_groups } # create_profile_wizard_options } # foundry