# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. easy_lender_login_audit_comma = { plugin_version = "1.0.1" # 2006/Jul/25: 1.0.0beta: KBB - initial creation - created from easy_lender_login_audit.cfg # 2007-09-14 - 1.0 - KBB - renumbered per new beta policy # 2010-11-02 - 1.0.1 - MSG - Edited info lines. info.1.manfacturer = "Fiserv" info.1.device = "Easy Lender Login Audit (comma separated)" info.1.version.1 = "" # Note: ^M in line represents actual \r (control-M) in file #"Bank Name","User Last Name^M Month^M ^M","Unsuccessful Login Audit","06/01/2006 to 07/31/2006","Report Date/Time","July 11, 2006"," 2:40:46 PM","User Name","User ID","User Title","Access Date","Account Status","Smith" #"June","Smith, Leland","lelands","Vice President","06/14/06 3:00:59 PM","Active","Page 1 of 1" log.format.format_label = "Easy Lender - Login Audit - Comma Separated" log.miscellaneous.log_data_type = "generic" log.miscellaneous.log_format_type = "application" # The log is in this format if any of the first 30 lines match this regular expression log.format.autodetect_regular_expression = '","Unsuccessful Login Audit","[0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9] to [0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]","Report Date/Time","' # The format of dates and times in this log log.format.date_format = "auto" log.format.time_format = "auto" # There can be newlines inside quotes in CSV files - let field values cross lines log.format.allow_newlines_inside_quotes = "true" # Don't create log fields named for elements in apparent header lines log.format.ignore_format_lines = "true" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "false" # Log fields log.fields = { date = "" time = "" user_full_name = "" user_id = "" user_title = "" account_status = "" } # log.fields # Log Filters log.filters = { mark_entry = { label = 'Login attempts' comment = 'This filter counts login attempts' value = 'if (matches_regular_expression(current_log_line(), "[0-9]:[0-9][0-9]:[0-9][0-9] (AM|PM)")) then ( attempts = 1; );' } # mark_entry } # log.filters # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" user_full_name = "" user_id = "" user_title = "" account_status = "" } # database.fields database.numerical_fields = { attempts = { requires_log_field = false entries_field = true } # attempts } # database.numerical_fields # Log Parsing Filters log.parsing_filters.parse = ` #"June","Smith, Leland","lelands","Vice President","06/14/06 3:00:59 PM","Active","Page 1 of 1" if (matches_regular_expression(current_log_line(), '^"[A-Za-z]+","([^"]+)","([^"]+)","([^"]+)","([0-9]+/[0-9]+/[0-9]+) +([0-9]+:[0-9][0-9]:[0-9][0-9] (AM|PM))","([^"]+)"')) then ( user_full_name = $1; user_id = $2; user_title = $3; date = $4; time = $5; account_status = $7; ); ` 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 } # easy_lender_login_audit_comma