# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. groupwise_post_office_agent = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-12-14 - 1.0.1 - MSG - Edited info lines. info.1.manfacturer = "Novell" info.1.device = "GroupWise Post Office Agent" info.1.version.1 = "" # The name of the log format log.format.format_label = "GroupWise Post Office Agent 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 = "^[0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9A-F]+ Post Office Directory: " # This regular expression is used to parse the log fields out of the log entry # The format of dates and times in this log log.format.date_format = "dd/mmm/yyyy" log.format.time_format = "auto" log.format.parse_only_with_filters = "true" # Log fields log.fields = { date = "" time = "" type = "" platform = "" gw_id = "" source_ip.type = "host" } # log.fields log.parsing_filters = { parse = " if (matches_regular_expression(current_log_line(), '^([0-9:]+) ([0-9A-F]+) ([^ ]+ Login) ([^ ]+) ::GW Id=([^ ]+) :: ([0-9.]+)$')) then ( v.key = $2; set_collected_field(v.key, 'date', substr(epoc_to_date_time(now()), 0, 11)); set_collected_field(v.key, 'time', $1); set_collected_field(v.key, 'type', $3); set_collected_field(v.key, 'platform', $4); set_collected_field(v.key, 'gw_id', $5); set_collected_field(v.key, 'source_ip', $6); accept_collected_entry(v.key, false); ) " } # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" type = "" platform = "" gw_id = "" source_ip = "" location = "" } # database.fields database.numerical_fields = { logins = { label = "$lang_stats.field_labels.logins" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # logins } # database.numerical_fields log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'logins = 1;' } # mark_entry } # log.filters 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 = "" type = true platform = true id = true source_ip = true location = true } # report_groups } # create_profile_wizard_options } # groupwise_post_office_agent