# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. cisco_emblem = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-10-19 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Cisco Systems" info.1.device = "EMBLEM" info.1.version.1 = "" # Cisco EMBLEM # The name of the log format log.format.format_label = "Cisco EMBLEM 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 = "%25[^:]*: \\[[^]]*\\].*<[0-9]*>" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { message_code = { label = "$lang_stats.field_labels.message_code" type = "flat" index = 0 subindex = 0 } # message_code operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation station = { label = "$lang_stats.field_labels.station" type = "flat" index = 0 subindex = 0 } # station reason = { label = "$lang_stats.field_labels.reason" type = "flat" index = 0 subindex = 0 } # reason } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse message code 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('()%25([^:]*): ', '*KEY*,message_code')" } # 1 # Parse Rebooting operation 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('()\\\\] .* (Rebooting .*)<', '*KEY*,operation')" } # 2 # Parse out Station/Operation 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('()Station ([^ ]*) ([^<]*)<', '*KEY*,station,operation')" } # 3 # Parse out Deauthenticating/Station/Reason 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('()(Deauthenticating) ([^,]*), reason \"([^\"]*)\"', '*KEY*,operation,station,reason')" } # 4 # Accept this line 5 = { label = "5" comment = "" value = "accept_collected_entry_using_regexp('()', false)" } # 5 } # log.parsing_filters # Database fields database.fields = { message_code = { label = "$lang_stats.field_labels.message_code" log_field = "message_code" type = "string" suppress_top = 0 suppress_bottom = 2 } # message_code operation = { label = "$lang_stats.field_labels.operation" log_field = "operation" type = "string" suppress_top = 0 suppress_bottom = 2 } # operation station = { label = "$lang_stats.field_labels.station" log_field = "station" type = "string" suppress_top = 0 suppress_bottom = 2 } # station reason = { label = "$lang_stats.field_labels.reason" log_field = "reason" type = "string" suppress_top = 0 suppress_bottom = 2 } # reason } # database.fields database.numerical_fields = { hits = { label = "$lang_stats.field_labels.hits" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # hits } # database.numerical_fields log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'hits = 1;' } # mark_entry } # log.filters create_profile_wizard_options = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" message_code = true operation = true station = true reason = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true bandwidth = true individualhosts = true sessions = true pageviews = true } # not_supported } # cisco_emblem