# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. windows_nt_scheduler = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2011-07-27 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Microsoft" info.1.device = "Windows NT Scheduler" info.1.version.1 = "" # The name of the log format log.format.format_label = "Windows NT Scheduler 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 = "^ Finished [0-9]+/[0-9]+/[0-9][0-9] [0-9]+:[0-9][0-9]:[0-9][0-9] [AP]M$" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { date = "" time = "" job = "" executable = "" result = "" } # log.fields # Log Parsing Filters log.parsing_filters = { parse = { label = "parse" comment = "" value = ` if (matches_regular_expression(current_log_line(), '^"([^"]*)" \\\\(([^)]*)\\\\)$')) then ( set_collected_field('', 'job', $1); set_collected_field('', 'executable', $2); ) else if (matches_regular_expression(current_log_line(), '^ Finished ([0-9/]+) ([0-9:]+ *[APM]*)$')) then ( set_collected_field('', 'date', $1); set_collected_field('', 'time', $2); ) else if (matches_regular_expression(current_log_line(), '^ Result: (.*)$')) then ( set_collected_field('', 'result', $1); accept_collected_entry('', false); ); ` } # parse } # parsing_filters # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" job = "" executable = "" result = "" } # database.fields 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 } # database.numerical_fields 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 create_profile_wizard_options = { date_time_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" job = true executable = true result = true } # report_groups } # create_profile_wizard_options } # windows_nt_scheduler