# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. cisco_vpnconcentrator_alt = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-10-26 - 1.0.1 - MSG - Edited info lines. info.1.manfacturer = "Cisco Systems" info.1.device = "VPN Concentrator (Alt)" info.1.version.1 = "" # # # "s3" - This log format recognises logs that require "parsing filters" # If parse_only_with_filters is true, Sawmill uses the log_parsing_filters to parse the log # and other parsing options are ignored. # # ======================================================================== # # CiscoVPNConcentratorAlt # # # # # ####################### # # # LOG FORMAT OPTIONS # # # ####################### # # http://www.sawmill.net/cgi-bin/sawmilldocs?ho+lff # The name of this format # # Format log_file_format {value} log.format.format_label = "Cisco VPN Concentrator Alt" # http://www.sawmill.net/cgi-bin/sawmilldocs?ho+ldt # This log is the following type #Format: log_data_type {value} log.miscellaneous.log_data_type = "syslog_required" log.miscellaneous.log_format_type = "network_device" # Determine what types of data this log file will support. # Un-comment the type below to disable this in the database # # Format: $notsupported {value} # $notsupported daybyday # $notsupported hits # $notsupported bandwidth # http://www.sawmill.net/cgi-bin/sawmilldocs?ho+tbaq # if there are square brackets around some fields (date/time) # you can specify to have this treated as one field # Format: treat_brackets_as_quotes {true|false} log.format.treat_brackets_as_quotes = "false" # http://www.sawmill.net/cgi-bin/sawmilldocs?ho+en # The name of an entry in this log # Format: entry_name {value} statistics.miscellaneous.entry_name = "events" # http://www.sawmill.net/cgi-bin/sawmilldocs?ho+lfare # We use this to recognise the format and "auto-detect". # Format: log_format_autodetect_regular_expression {value} log.format.autodetect_regular_expression = "[0-9]+ [A-Z][a-z][a-z] [0-9 ][0-9] [0-9:]+\\.[0-9]+ [A-Z]+ [+-][0-9:]+ [^:]+: RPT=[0-9]+: " # http://www.sawmill.net/cgi-bin/sawmilldocs?ho+powf # This template is for those formats that require parsing filters # so is set to "true" as default # Format: parse_only_with_filters ( true | false ) log.format.parse_only_with_filters = "true" ########################### # # # # ########################### # # # # Log fields log.fields = { source_host = { label = "$lang_stats.field_labels.source_host" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source_host user = { label = "$lang_stats.field_labels.user" type = "flat" index = 0 subindex = 0 } # user group = { label = "$lang_stats.field_labels.group" type = "flat" index = 0 subindex = 0 } # group session_type = { label = "$lang_stats.field_labels.session_type" type = "flat" index = 0 subindex = 0 } # session_type duration = { label = "$lang_stats.field_labels.duration" type = "flat" index = 0 subindex = 0 } # duration reason = { label = "$lang_stats.field_labels.reason" type = "flat" index = 0 subindex = 0 } # reason bytes_received = { label = "$lang_stats.field_labels.bytes_received" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes_received bytes_transmitted = { label = "$lang_stats.field_labels.bytes_transmitted" type = "flat" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes_transmitted duration = { label = "$lang_stats.field_labels.duration" type = "flat" index = 0 subindex = 0 } # duration } # log.fields ####################### # # # # ####################### # # # # # Log Parsing Filters log.parsing_filters = { # Parse a general Group/User 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('() RPT=[0-9]+: ([0-9]+\\\\.[0-9]+\\\\.[0-9]+\\\\.[0-9]+): ', '*KEY*,source_host')" } # 1 # Parse a general Group/User 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('() User \\\\[([^]]*)\\\\]', '*KEY*,user')" } # 2 # Parse a general Group/User 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('() Group \\\\[([^]]*)\\\\]', '*KEY*,group')" } # 3 # Parse a general Group/User 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('() Session Type: ([^ ]+)', '*KEY*,session_type')" } # 4 # Parse a general Group/User 5 = { label = "5" comment = "" value = "collect_fields_using_regexp('() [Dd]uration:* ([0-9]+:[0-9]+:[0-9-]+)', '*KEY*,duration')" } # 5 # Parse a reason 6 = { label = "6" comment = "" value = "collect_fields_using_regexp('() Reason: ([^$]+)$', '*KEY*,reason')" } # 6 # Parse a bytes 7 = { label = "7" comment = "" value = "collect_fields_using_regexp('() [Bb]ytes xmt:* ([0-9]*)[ ,] [Bb]ytes rcv:* ([0-9]*)', '*KEY*,bytes_transmitted,bytes_received')" } # 7 # Accept this log entry 8 = { label = "8" comment = "" value = "accept_collected_entry_using_regexp('()', false)" } # 8 } # log.parsing_filters ############################### # # # # ############################### # # See http://www.sawmill.net/cgi-bin/sawmilldocs?ho+docs-hierarchies # for information about hierarchies. # # # Database fields database.fields = { source_host = { label = "$lang_stats.field_labels.source_host" log_field = "source_host" type = "string" suppress_top = 99 suppress_bottom = 99 } # source_host user = { label = "$lang_stats.field_labels.user" log_field = "user" type = "string" suppress_top = 0 suppress_bottom = 2 } # user group = { label = "$lang_stats.field_labels.group" log_field = "group" type = "string" suppress_top = 0 suppress_bottom = 2 } # group session_type = { label = "$lang_stats.field_labels.session_type" log_field = "session_type" type = "string" suppress_top = 0 suppress_bottom = 2 } # session_type reason = { label = "$lang_stats.field_labels.reason" log_field = "reason" type = "string" suppress_top = 0 suppress_bottom = 2 } # reason } # 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 bytes_received = { label = "$lang_stats.field_labels.bytes_received" default = false requires_log_field = true log_field = "bytes_received" type = "float" display_format_type = "bandwidth" } # bytes_received bytes_transmitted = { label = "$lang_stats.field_labels.bytes_transmitted" default = false requires_log_field = true log_field = "bytes_transmitted" type = "float" display_format_type = "bandwidth" } # bytes_transmitted duration = { label = "$lang_stats.field_labels.duration" default = true requires_log_field = false type = "int" display_format_type = "duration_compact" } } # 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_host = true user = true group = true session_type = true duration = true reason = true } # report_groups } # create_profile_wizard_options not_supported = { individualhosts = true sessions = true sessionpages = true pageviews = true visitors = true } # not_supported } # cisco_vpnconcentrator_alt