beta_autoadmin = { # sessions, hits, bandwidth, pageviews, and visitors. # The name of the log format log.format.format_label = "AutoAdmin Log Format (BETA)" log.miscellaneous.log_data_type = "generic" log.miscellaneous.log_format_type = "application" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = `^ ` # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { date = "" time = "" id = "" is_error = "" category = "" message = "" } # log.fields log.parsing_filters.parse = ` if (matches_regular_expression(current_log_line(), '^ ([^<]*)')) then set_collected_field('', 'id', $1); else if (matches_regular_expression(current_log_line(), '^ ([^<]*)')) then set_collected_field('', 'is_error', $1); else if (matches_regular_expression(current_log_line(), '^ ([^ ]*) ([^<]*)')) then ( set_collected_field('', 'date', $1); set_collected_field('', 'time', $2); ); else if (matches_regular_expression(current_log_line(), '^ ([^<]*)')) then set_collected_field('', 'category', $1); else if (matches_regular_expression(current_log_line(), '^ ([^<]*)')) then set_collected_field('', 'message', $1); else if (matches_regular_expression(current_log_line(), '^ ')) then ( set_collected_field('', 'events', 1); accept_collected_entry('', false); ); ` # Database fields database.fields = { date_time = "" hour_of_day = "" day_of_week = "" id = "" is_error = "" category = "" message = "" } # database.fields database.numerical_fields = { events = { default = true requires_log_field = false 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 = "" } # report_groups } # create_profile_wizard_options } # arcserve_nt