# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. 3com_3crgpoe10075 = { plugin_version = "1.0.1" # 2010-10-07 - 1.0.1 - MSG - Edited info lines. info.1.manfacturer = "3Com" info.1.device = "3CRGPOE10075 WAP" info.1.version.1 = "Discontinued" # The name of the log format log.format.format_label = "3Com 3CRGPOE10075 Log Format" 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][0-9][0-9][0-9] [A-Z][a-z][a-z] [0-9]+ [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F]:[0-9A-F][0-9A-F] (authenticated|associated|disconnected|Rogue)" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { mac_address = "" message = "" } # log.fields # Database fields database.fields = { mac_address = "" message = "" } # database.fields # Log Parsing Filters log.parsing_filters.parse = ` if (matches_regular_expression(v.syslog_message, '^[0-9]+ [A-Z][a-z][a-z] [0-9]+ [0-9:]+ ([0-9A-F:]+) (.*)$')) then ( set_collected_field('', 'mac_address', $1); set_collected_field('', 'message', $2); accept_collected_entry('', false); ) ` # 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.numerical_fields = { events = { label = "$lang_stats.field_labels.events" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # events } # database.numerical_fields create_profile_wizard_options = { date_time_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" logging_device = "" syslog_priority = "" mac_address = true message = true } # report_groups } # create_profile_wizard_options } # 3com_3crgpoe10075