# Copyright (c) 2014 Flowerfire, Inc. All Rights Reserved. winsshd_xml = { plugin_version = "1.0.1" info.1.manufacturer = "Bitvise" info.1.device = "WinSSHD" info.1.version.1 = "6" # 6.0.3 # 2014-01-29 - 1.0 - GMF - Initial creation # 2014-02-07 - 1.0.1 - GMF - Fixed extraction of lines # The name of the log format log.format.format_label = "Bitvise WinSSHD Log Format" log.miscellaneous.log_data_type = "generic" log.miscellaneous.log_format_type = "other" # The log is in this format if any of the first ten lines match this regular expression # log.format.autodetect_regular_expression = "BvSshServer" log.format.date_format = "auto" log.format.time_format = "auto" log.format.parse_only_with_filters = "true" # Log fields log.fields = { date = "" time = "" # appname = "" appversion = "" thisfile = "" # seq = "" app = "" name = "" desc = "" # algorithm = "" size = "" md5 = "" babble = "" # listenaddress = "" port = "" scope = "" serviceaccount = "" sessionid = "" exepath = "" computername = "" computerdomain = "" windowsversion = "" servicepack = "" isdomaincontroller = "" addressrule = "" clientversion = "" kexalg = "" cipheralgin = "" cipheralgout = "" macalgin = "" macalgout = "" compralgin = "" compalgout = "" # id = "" remoteaddress = "" # attemptnr = "" username = "" method = "" failurereason = "" # type = "" message = "" events = "" } # log.fields # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" # # appname = "" # appversion = "" # thisfile = "" # # seq = "" # app = "" name = "" desc = "" # algorithm = "" size = "" # md5 = "" # babble = "" # listenaddress = "" port = "" scope = "" serviceaccount = "" sessionid = "" exepath = "" computername = "" computerdomain = "" windowsversion = "" servicepack = "" isdomaincontroller = "" addressrule = "" clientversion = "" kexalg = "" cipheralgin = "" cipheralgout = "" macalgin = "" macalgout = "" compralgin = "" compalgout = "" # id = "" remoteaddress = "" # attemptnr = "" username = "" method = "" failurereason = "" # type = "" message = { type = "unnormalized_string" index = false add_default_xref_table = false } # message } # database.fields log.parsing_filters.parse = ` # if (matches_regular_expression(current_log_line(), '^ $')) then ( collect_listed_fields('', $1, ' ', '=', ''); ); # else if (matches_regular_expression(current_log_line(), '^ $')) then ( collect_listed_fields('', $1, ' ', '=', ''); ); # else if (matches_regular_expression(current_log_line(), '^ $')) then ( collect_listed_fields('', $1, ' ', '=', ''); ); # else if (matches_regular_expression(current_log_line(), '^ $')) then ( collect_listed_fields('', $1, ' ', '=', ''); ); # # # # else if (matches_regular_expression(current_log_line(), '^ $')) then ( collect_listed_fields('', $1, ' ', '=', ''); ); else if (matches_regular_expression(current_log_line(), '^ ')) then ( if (matches_regular_expression(get_collected_field('', 'time'), '^([0-9-]+) ([0-9:]+)[.]')) then ( set_collected_field('', 'date', $1); set_collected_field('', 'time', $2); ); set_collected_field('', 'events', 1); accept_collected_entry('', false); ); # ` # parsing_filters database.numerical_fields = { events = { default = true entries_field = true } # events } # database.numerical_fields create_profile_wizard_options = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" content_group = { pathname = true } event_group = { seq = "" app = "" name = "" desc = "" } # event_group keypair_group = { algorithm = "" size = "" md5 = "" babble = "" } # keypair_group parameters_group = { listenaddress = "" port = "" scope = "" serviceaccount = "" sessionid = "" exepath = "" computername = "" computerdomain = "" windowsversion = "" servicepack = "" isdomaincontroller = "" addressrule = "" clientversion = "" kexalg = "" cipheralgin = "" cipheralgout = "" macalgin = "" macalgout = "" compralgin = "" compalgout = "" } # parameters_group session_group = { id = "" remoteaddress = "" } # session_group authentication_group = { attemptnr = "" username = "" method = "" failurereason = "" } # authentication_group error_group = { type = "" message = "" } # error_group } # report_groups } # create_profile_wizard_options } # winsshd_xml