# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. cell_ips = { plugin_version = "1.0" info.1.manfacturer = "Cell Technology" info.1.device = "IPS" info.1.version.1 = "3.0.1" # 2008-06-04 - 1.0 - GMF - Initial implementation # The name of the log format log.format.format_label = "Cell Technology IPS 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 = "C?ellIPS: [[][0-9]+:[0-9]+:[0-9]+[]] " # Log fields log.fields = { category = "" category_detail = "" priority = "" protocol = "" source_ip.type = "host" source_port = "" destination_ip = "" destination_port = "" events = "" } # log.fields log.parsing_filters.parse = ` if (matches_regular_expression(v.syslog_message, "^C?ellIPS: [[][0-9]+:[0-9]+:[0-9]+[]] ([^-]+)( - [^[]+)[[]Priority: ([0-9]+)[]]: [{]([^}]+)[}] ([0-9.]+):([0-9]+) -> ([0-9.]+):([0-9]+)")) then ( set_collected_field('', 'category', $1); set_collected_field('', 'category_detail', $1 . $2); set_collected_field('', 'priority', $3); set_collected_field('', 'protocol', $4); set_collected_field('', 'source_ip', $5); set_collected_field('', 'source_port', $6); set_collected_field('', 'destination_ip', $7); set_collected_field('', 'destination_port', $8); set_collected_field('', 'events', 1); accept_collected_entry('', false); ); ` # Database fields database.fields = { category = "" category_detail = "" priority = "" protocol = "" source_ip = "" location = "" source_port = "" destination_ip = "" destination_port = "" } # database.fields # Log Filters log.filters = { } # log.filters database.numerical_fields = { events = { default = true 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 } # cell_ips