beta_cisco_wlan_controller = { plugin_version = "1.0beta" # The name of the log format log.format.format_label = "Cisco WLAN Controller Log Format (BETA)" 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 = "\\[[A-Z]+\\] [a-z]+\\.c [0-9]+: " # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { category = "" source_code_filename = "" source_code_line_number = "" message = "" events = "" } # log.fields # Log Parsing Filters log.parsing_filters.parse = ` if (matches_regular_expression(v.syslog_message, '^\\\\[([A-Z]+)\\\\] ([^ ]+) ([0-9]+): (.*)$')) then ( set_collected_field('', 'category', $1); set_collected_field('', 'source_code_filename', $2); set_collected_field('', 'source_code_line_number', $3); set_collected_field('', 'message', $4); set_collected_field('', 'events', 1); accept_collected_entry('', false); ); ` # Database fields database.fields = { category = "" source_code_filename = "" source_code_line_number = "" message = "" } # database.fields database.numerical_fields = { events.default = true } # 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 } # beta_cisco_wlan_controller