# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. argus = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-10-11 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Argus" info.1.device = "Firewall" info.1.version.1 = "" # The name of the log format log.format.format_label = "Argus" log.miscellaneous.log_data_type = "generic" 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 = "^Start_Time,Fraction,Flgs,Type,SrcAddr,Sport,Dir,DstAddr,Dport,SrcPkt,Dstpkt,SrcBytes,DstBytes,State" # This regular expression is used to parse the log fields out of the log entry log.format.parsing_regular_expression = "^([0-9]+/[0-9]+/[0-9]+) ([0-9]+:[0-9]+:[0-9]+),([0-9.]+),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)$" log.format.date_format = "auto" log.format.time_format = "auto" # Log fields log.fields = { date = { label = "$lang_stats.field_labels.date" type = "date" index = 0 subindex = 0 } # date time = { label = "$lang_stats.field_labels.time" type = "time" index = 0 subindex = 0 } # time fraction = { label = "$lang_stats.field_labels.fraction" type = "flat" index = 0 subindex = 0 } # fraction flags = { label = "$lang_stats.field_labels.flags" type = "flat" index = 0 subindex = 0 } # flags type = { label = "$lang_stats.field_labels.type" type = "flat" index = 0 subindex = 0 } # type source_address = { label = "$lang_stats.field_labels.source_address" type = "host" index = 0 subindex = 0 } # source_address source_port = { label = "$lang_stats.field_labels.source_port" type = "flat" index = 0 subindex = 0 } # source_port direction = { label = "$lang_stats.field_labels.direction" type = "flat" index = 0 subindex = 0 } # direction destination_address = { label = "$lang_stats.field_labels.destination_address" type = "flat" index = 0 subindex = 0 } # destination_address destination_port = { label = "$lang_stats.field_labels.destination_port" type = "flat" index = 0 subindex = 0 } # destination_port source_packets = { label = "$lang_stats.field_labels.source_packets" type = "flat" index = 0 subindex = 0 } # source_packets destination_packets = { label = "$lang_stats.field_labels.destination_packets" type = "flat" index = 0 subindex = 0 } # destination_packets source_bytes = { label = "$lang_stats.field_labels.source_bytes" type = "flat" index = 0 subindex = 0 } # source_bytes destination_bytes = { label = "$lang_stats.field_labels.destination_bytes" type = "flat" index = 0 subindex = 0 } # destination_bytes state = { label = "$lang_stats.field_labels.state" type = "flat" index = 0 subindex = 0 } # state } # log.fields # Database fields database.fields = { date_time = { label = "$lang_stats.field_labels.date_time" log_field = "date_time" type = "string" suppress_top = 0 suppress_bottom = 3 display_format_type = "date_time" } # date_time day_of_week = { label = "$lang_stats.field_labels.day_of_week" log_field = "day_of_week" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "day_of_week" } # day_of_week hour_of_day = { label = "$lang_stats.field_labels.hour_of_day" log_field = "hour_of_day" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "hour_of_day" } # hour_of_day flags = { label = "$lang_stats.field_labels.flags" log_field = "flags" type = "string" suppress_top = 0 suppress_bottom = 2 } # flags type = { label = "$lang_stats.field_labels.type" log_field = "type" type = "string" suppress_top = 0 suppress_bottom = 2 } # type source_address = { label = "$lang_stats.field_labels.source_address" log_field = "source_address" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_address domain_description = { label = "$lang_stats.field_labels.domain_description" log_field = "domain_description" type = "string" suppress_top = 0 suppress_bottom = 2 } # domain_description location = { label = "$lang_stats.field_labels.location" log_field = "location" type = "string" suppress_top = 0 suppress_bottom = 3 } # location source_port = { label = "$lang_stats.field_labels.source_port" log_field = "source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_port direction = { label = "$lang_stats.field_labels.direction" log_field = "direction" type = "string" suppress_top = 0 suppress_bottom = 2 } # direction destination_address = { label = "$lang_stats.field_labels.destination_address" log_field = "destination_address" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_address destination_port = { label = "$lang_stats.field_labels.destination_port" log_field = "destination_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_port state = { label = "$lang_stats.field_labels.state" log_field = "state" type = "string" suppress_top = 0 suppress_bottom = 2 } # state } # 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 source_packets = { label = "$lang_stats.field_labels.source_packets" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # source_packets destination_packets = { label = "$lang_stats.field_labels.destination_packets" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # destination_packets source_bytes = { label = "$lang_stats.field_labels.source_bytes" default = false requires_log_field = true log_field = "source_bytes" type = "float" display_format_type = "bandwidth" } # source_bytes source_bytes = { label = "$lang_stats.field_labels.source_bytes" default = false requires_log_field = true log_field = "source_bytes" type = "float" display_format_type = "bandwidth" } # source_bytes unique_source_addresses = { label = "$lang_stats.field_labels.unique_source_addresses" default = false requires_log_field = true log_field = "source_host" type = "unique" display_format_type = "integer" } # unique_source_addresses } # 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_group = { source_address = true source_port = true domain_description = true location = true } destination_group = { destination_address = true destination_port = true } other_group = { direction = true state = true type = true flags = true } } # report_groups } # create_profile_wizard_options not_supported = { daybyday = true bandwidth = true sessions = true pageviews = true } # not_supported } # argus