# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. tipping_point = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2011-07-21 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "TippingPoint" info.1.device = "TippingPoint" info.1.version.1 = "" info.2.manufacturer = "3COM" info.2.device = "TippingPoint" info.2.version.1 = "" info.3.manufacturer = "HP" info.3.device = "TippingPoint" info.3.version.1 = "" # The name of the log format log.format.format_label = "Tipping Point 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 = "(ALT|BLK|P2P),v4,[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T[0-9][0-9][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 = { type = "" message_version = "" date = "" time = "" host = "" sequence_id = "" action = "" severity = "" policy_uuid = "" policy_name = "" signature_name = "" protocol = "" source_address.type = "host" source_port = "" destination_address = "" destination_port = "" aggregation_period_start = "" events_in_aggregation_period = "" message_parameters = "" capture_available = "" slot_and_segment = "" } # log.fields # # Log Parsing Filters log.parsing_filters = { parse = ` if (matches_regular_expression(v.syslog_message, '^[A-Za-z]* *[0-9]+ [0-9:]+ [0-9.]+ ([^,]*),([^,]*),([0-9]*)T([0-9]*)[-+][0-9]*,([^,]*),([0-9]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([0-9.]*):([0-9]*),([0-9.]*):([0-9]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)')) then ( set_collected_field('', 'log_type', $1); set_collected_field('', 'message_version', $2); set_collected_field('', 'date', normalize_date($3, 'yyyymmdd')); set_collected_field('', 'time', normalize_time($4, 'hhmmss')); set_collected_field('', 'host', $5); set_collected_field('', 'sequence_id', $6); set_collected_field('', 'action', $8); set_collected_field('', 'severity', $9); set_collected_field('', 'policy_uuid', $10); set_collected_field('', 'policy_name', $11); set_collected_field('', 'signature_name', $12); set_collected_field('', 'protocol', $13); set_collected_field('', 'source_address', $14); set_collected_field('', 'source_port', $15); set_collected_field('', 'destination_address', $16); set_collected_field('', 'destination_port', $17); set_collected_field('', 'aggregation_period_start', $18); set_collected_field('', 'events_in_aggregation_period', $19); set_collected_field('', 'message_parameters', $20); set_collected_field('', 'capture_available', $21); set_collected_field('', 'slot_and_segment', $22); accept_collected_entry('', false); ) ` } # log.parsing_filters # Database fields database.fields = { type = "" message_version = "" date_time = "" hour_of_day = "" day_of_week = "" host = "" sequence_id = "" action = "" severity = "" policy_uuid = "" policy_name = "" signature_name = "" protocol = "" source_address = "" source_port = "" destination_address = "" destination_port = "" message_parameters = "" capture_available = "" slot_and_segment = "" } # database.fields # 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 unique_source_addresses = { label = "$lang_stats.field_labels.unique_source_addresses" default = false requires_log_field = true log_field = "source_address" type = "unique" display_format_type = "integer" } # unique_source_addresses } # database.numerical_fields create_profile_wizard_options = { date_time_tracking = true host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" type = true message_version = true date_time = true hour_of_day = true day_of_week = true host = true sequence_id = true action = true severity = true policy_uuid = true policy_name = true signature_name = true protocol = true source_address = true source_port = true destination_address = true destination_port = true message_parameters = true capture_available = true slot_and_segment = true } # report_groups } # create_profile_wizard_options } # tipping_point