# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. cognos_ticket_server = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-10-26 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Cognos" info.1.device = "Ticket Server" info.1.version.1 = "" info.2.manufacturer = "IBM" info.2.device = "Cognos Ticket Server" info.2.version.1 = "" # The name of the log format log.format.format_label = "Cognos Ticket Server Log Format" 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 = "^\\[[A-Z][A-Z][A-Z] [0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]:[0-9][0-9][0-9]\\] Server startup." # The format of dates and times in this log log.format.date_format = "dd/mm/yyyy" log.format.time_format = "auto" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { date = { label = "$lang_stats.field_labels.date" type = "date" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date time = { label = "$lang_stats.field_labels.time" type = "time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # time fromip = { label = "$lang_stats.field_labels.fromip" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # fromip ticket = { label = "$lang_stats.field_labels.ticket" type = "flat" index = 0 subindex = 0 } # ticket action = { label = "$lang_stats.field_labels.action" type = "flat" index = 0 subindex = 0 } # action status = { label = "$lang_stats.field_labels.status" type = "flat" index = 0 subindex = 0 } # status namespace = { label = "$lang_stats.field_labels.namespace" type = "flat" index = 0 subindex = 0 } # namespace user = { label = "$lang_stats.field_labels.user" type = "flat" index = 0 subindex = 0 } # user } # log.fields # Log Parsing Filters log.parsing_filters = { # Parse out all the beginning fields date_time = { label = "date_time" comment = "" value = "collect_fields_using_regexp('^()\\[[A-Z][A-Z][A-Z] ([0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]) ([0-9][0-9]:[0-9][0-9]:[0-9][0-9]):[0-9][0-9][0-9]\\]', '*KEY*,date,time')" } # date_time # Parse other fields parse_listed = { label = "parse_listed" comment = "" value = "collect_listed_fields_using_regexp('^()\\[[^]]+\\] (.*)$', ' ', ':', '')" } # parse_listed # Parse out the job number accept = { label = "accept" comment = "" value = "accept_collected_entry_using_regexp('()FromIP', false)" } # accept } # log.parsing_filters # Database fields database.fields = { date_time = { label = "$lang_stats.field_labels.date_time" log_field = "date_time" type = "string" suppress_top = 0 suppress_bottom = 3 display_format_type = "date_time" } # date_time day_of_week = { label = "$lang_stats.field_labels.day_of_week" log_field = "day_of_week" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "day_of_week" } # day_of_week hour_of_day = { label = "$lang_stats.field_labels.hour_of_day" log_field = "hour_of_day" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "hour_of_day" } # hour_of_day fromip = { label = "$lang_stats.field_labels.fromip" log_field = "fromip" type = "string" suppress_top = 0 suppress_bottom = 2 } # fromip ticket = { label = "$lang_stats.field_labels.ticket" log_field = "ticket" type = "string" suppress_top = 0 suppress_bottom = 2 } # ticket action = { label = "$lang_stats.field_labels.action" log_field = "action" type = "string" suppress_top = 0 suppress_bottom = 2 } # action status = { label = "$lang_stats.field_labels.status" log_field = "status" type = "string" suppress_top = 0 suppress_bottom = 2 } # status namespace = { label = "$lang_stats.field_labels.namespace" log_field = "namespace" type = "string" suppress_top = 0 suppress_bottom = 2 } # namespace user = { label = "$lang_stats.field_labels.user" log_field = "user" type = "string" suppress_top = 0 suppress_bottom = 2 } # user } # database.fields # Log Filters log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'tickets = 1;' } # mark_entry } # log.filters database.numerical_fields = { tickets = { label = "$lang_stats.field_labels.tickets" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # tickets unique_source_ips = { label = "$lang_stats.field_labels.unique_source_ips" default = false requires_log_field = true log_field = "fromip" type = "unique" display_format_type = "integer" } # unique_source_ips } # database.numerical_fields create_profile_wizard_options = { date_time_tracking = true host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" fromip = true ticket = true action = true status = true namespace = true user = true } # report_groups } # create_profile_wizard_options not_supported = { } # not_supported } # common_access