# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. cisco_net_flow_1 = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-10-20 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Cisco Systems" info.1.device = "NetFlow (version 1)" info.1.version.1 = "" # Cisco NetFlow # The name of the log format log.format.format_label = "Cisco NetFlow (version 1)" log.miscellaneous.log_data_type = "firewall" 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 = "^[0-9][0-9][0-9][0-9] [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ *[0-9][0-9][0-9][0-9] [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ *[0-9][0-9] [0-9a-f]+ +[0-9a-f]+ +[0-9]+ +[0-9]+" # The regular expression to parse lines log.format.parsing_regular_expression = "^([0-9][0-9][0-9][0-9]) ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+) *([0-9][0-9][0-9][0-9]) ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+) *([0-9][0-9]) ([0-9a-f]+) +([0-9a-f]+) +([0-9]+) +([0-9]+)" # A log entry is called an event statistics.miscellaneous.entry_name = "events" # Log fields log.fields = { source_interface = { label = "$lang_stats.field_labels.source_interface" type = "host" index = 0 subindex = 0 } # source_interface source_ip = { label = "$lang_stats.field_labels.source_ip" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source_ip destination_interface = { label = "$lang_stats.field_labels.destination_interface" type = "flat" index = 0 subindex = 0 } # destination_interface destination_ip = { label = "$lang_stats.field_labels.destination_ip" type = "flat" index = 0 subindex = 0 } # destination_ip protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 0 subindex = 0 } # protocol source_port = { label = "$lang_stats.field_labels.source_port" type = "flat" index = 0 subindex = 0 } # source_port destination_port = { label = "$lang_stats.field_labels.destination_port" type = "flat" index = 0 subindex = 0 } # destination_port packets = { label = "$lang_stats.field_labels.packets" type = "flat" index = 0 subindex = 0 } # packets bytes = { label = "$lang_stats.field_labels.bytes" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes } # log.fields # Database fields database.fields = { source_interface = { label = "$lang_stats.field_labels.source_interface" log_field = "source_interface" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_interface source_ip = { label = "$lang_stats.field_labels.source_ip" log_field = "source_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_ip destination_ip = { label = "$lang_stats.field_labels.destination_ip" log_field = "destination_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_ip destination_interface = { label = "$lang_stats.field_labels.destination_interface" log_field = "destination_interface" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_interface source_port = { label = "$lang_stats.field_labels.source_port" log_field = "source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_port destination_port = { label = "$lang_stats.field_labels.destination_port" log_field = "destination_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_port protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol } # 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_ips = { label = "$lang_stats.field_labels.unique_source_ips" default = false requires_log_field = true log_field = "source_ip" type = "unique" display_format_type = "integer" } # unique_source_ips bytes = { label = "$lang_stats.field_labels.bytes" default = false requires_log_field = true log_field = "bytes" type = "int" integer_bits = 64 display_format_type = "bandwidth" } # bytes } # database.numerical_fields create_profile_wizard_options = { host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" source_interface = true source_ip = true source_port = true destination_interface = true destination_ip = true destination_port = true protocol = true } # report_groups } # create_profile_wizard_options not_supported = { sessionpages = true pageviews = true datetime = false } # not_supported } # cisco_net_flow_1