beta_juniper_secure_access_ssl_vpn = { # The name of the log format log.format.format_label = "Juniper Secure Access SSL VPN Log Format (BETA)" log.miscellaneous.log_data_type = "firewall" log.miscellaneous.log_format_type = "firewall" # The log is in this format if any of the first ten lines match this regular expression # Explicitly look for WEB20174 messages to differentiate Juniper from other WELF. log.format.autodetect_regular_expression = '^id=[a-z]* time=\"[^\"]*\" .*fw=[0-9.]*.*msg="WEB20174' # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { date = "" id = "" time = "" fw = "" src.type = "host" dst = "" dstname = "" agent.type = "agent" arg = "" op = "" pri = "" proto = "" realm = "" result = "" roles = "" type = "" user = "" vpn = "" sent = "" rcvd = "" duration = "" msg = "" } # log.fields # # Log Parsing Filters log.parsing_filters.parse = ` if (matches_regular_expression(current_log_line(), '^id=([a-z]+) time=\"([0-9-]+) ([0-9:]+)\" (.*)$')) then ( set_collected_field('', 'id', $1); set_collected_field('', 'date', $2); set_collected_field('', 'time', $3); collect_listed_fields('', $4, ' ', '=', ''); accept_collected_entry('', false); ); ` # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" id = "" fw = "" src = "" location = "" dst = "" dstname = "" operating_system = "" web_browser = "" op = "" pri = "" proto = "" realm = "" result = "" roles = "" type = "" user = "" vpn = "" # Arg field is highly complex and not usually useful; disabled by default # arg = "" # msg field is very complex and highly redundant; disabled by default # msg = "" } # 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 = 'accesses = 1;' } # mark_entry } # log.filters database.numerical_fields = { accesses = { default = true requires_log_field = false entries_field = true } # accesses unique_source_ips = { log_field = "src" type = "unique" } # unique_source_ips sent = { type = "float" display_format_type = "bandwidth" } # sent rcvd = { type = "float" display_format_type = "bandwidth" } # rcvd duration = { type = "float" display_format_type = "duration_compact" } # duration } # 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 } # beta_juniper_secure_access_ssl_vpn