# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. uudynamics_ssl_vpn = { plugin_version = "1.0" info.1.manufacturer = "UUDynamics" info.1.device = "SSL VPN" info.1.version = "" # 2009-04-23 - 1.0 - GMF - Initial creation # The name of the log format log.format.format_label = "UUDynamics SSL VPN" log.miscellaneous.log_data_type = "network" 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 = '^[A-Z][a-z][a-z] [0-9 ][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [^ ]+ [^ ]+ +([<].*)$' # The format of dates and times in this log log.format.date_format = "mmm dd" log.format.time_format = "auto" # Log fields log.fields = { date = "" time = "" logging_device = "" process = "" user = "" action = "" source_ip.type = "host" events = "" } # log.fields log.parsing_filters.parse = ` if (matches_regular_expression(current_log_line(), '^([A-Z][a-z][a-z] [0-9 ][0-9]) ([0-9][0-9]:[0-9][0-9]:[0-9][0-9]) ([^ ]+) ([^ ]+) +<[0-9]+>(.*)$')) then ( date = $1; time = $2; logging_device = $3; process = $4; v.message = $5; # Mar 19 00:16:24 localhost UUSoft <6>aaaaaa@test.aaa logged in. if (matches_regular_expression(v.message, '^([^ ]+) (logged in.*)')) then ( user = $1; action = $2; ); # Mar 19 00:16:51 localhost UUSoft <6>aaaaaa@test.aaa disconnected due to timeout [KeepAlive] else if (matches_regular_expression(v.message, '^([^ ]+) (disconnected.*)$')) then ( user = $1; action = $2; ); # Mar 19 00:21:24 localhost UUAuthd <6>UUSoft: aaaaaa@test.aaa authentication succeeded from 11.22.33.44 else if (matches_regular_expression(v.message, '^UUSoft: ([^ ]+) (authentication succeeded) from ([0-9.]+)$')) then ( user = $1; action = $2; source_ip = $3; ); ); ` # parsing filter # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" logging_device = "" process = "" user = "" action = "" source_ip = "" location = "" } # 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 = { default = true entries_field = true } # events unique_source_ips = { default = false requires_log_field = true log_field = "source_ip" type = "unique" } # unique_source_ips } # 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 } # uudynamics_ssl_vpn