# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. sybase_error = { plugin_version = "1.0" plugin_time = "1" info.1.manfacturer = "Sybase" info.1.device = "Error Log" info.1.version.1 = "" # 2009-05-04 - 1.0 - GMF - Initial implementation # The name of the log format log.format.format_label = "Sybase Error Log Format" log.miscellaneous.log_data_type = "error" log.miscellaneous.log_format_type = "application" # The log is in this format if any of the first ten lines match this regular expression # e.g. # 00:2002/08/21 12:12:49.52 kernel Using config area from primary master device. log.format.autodetect_regular_expression = "^[0-9]+:[0-9]{4}/[0-9]{2}/[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{2} [^ ]+ " # Log fields log.fields = { date = "" time = "" type = "" message = "" events = "" } # log.fields log.parsing_filters.parse = ` if (matches_regular_expression(current_log_line(), '^[0-9]+:([0-9]{4}/[0-9]{2}/[0-9]{2}) ([0-9]{2}:[0-9]{2}:[0-9]{2})[.][0-9]{2} ([^ ]+) (.*)$')) then ( date = $1; time = $2; type = $3; message = $4; events = 1; ); ` # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" type = "" message = "" } # database.fields database.numerical_fields = { events = { default = true } # events } # database.numerical_fields create_profile_wizard_options = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" type = "" message = "" } # report_groups } # create_profile_wizard_options } # sybase_error