# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. java_administration_mbean = { plugin_version = "1.0.1" # 2007-09-11 - 1.0 - KBB - added version number and changed file name from # beta_java_administration_mbean.cfg # 2011-03-23 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Oracle" info.1.device = "Java Administration MBEAN" info.1.version.1 = "" # The name of the log format log.format.format_label = "Java Administration MBEAN Log Format" log.miscellaneous.log_data_type = "other" 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 = '\\{\\{Timestamp=[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]\\}\\{' log.format.autodetect_lines = 2 # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { date = "" time = "" Name = "" CachingDisabled = "" ObjectName = "" PoolState = "" ObjectName = "" CachingDisabled = "" Enabled = "" Status = "" EJBComponent = "" DeploymentState = "" FilterDispatchedRequestsEnabled = "" IndexDirectoryEnabled = "" JSPDebug = "" JSPKeepGenerated = "" JSPVerbose = "" Durable = "" HealthState = "" Active = "" Destination = "" # numerical fields events = "" MaxCapacity = "" CurrCapacity = "" ExecuteThreadCurrentIdleCount = "" PendingRequestCurrentCount = "" PendingRequestOld = "" ServicedRequestTotalCount = "" WaitSecondsHighCount = "" StatementProfileCount = "" PrepStmtCacheHitCount = "" ConnectionsTotalCount = "" ConnectionLeakProfileCount = "" WaitingForConnectionCurrentCount = "" ActiveConnectionsCurrentCount = "" ActiveConnectionsAverageCount = "" ExecuteThreadTotalCount = "" ActiveConnectionsHighCount = "" LeakedConnectionCount = "" PrepStmtCacheMissCount = "" WaitingForConnectionHighCount = "" PreparedStatementCacheProfileCount = "" FailuresToReconnectCount = "" HighestNumAvailable = "" HighestNumUnavailable = "" NumAvailable = "" NumUnavailable = "" DeploymentState = "" AccessTotalCount = "" ActiveTransactionsTotalCount = "" BeansInUseCount = "" BeansInUseCurrentCount = "" BytesCurrentCount = "" BytesHighCount = "" BytesPendingCount = "" BytesReceivedCount = "" BytesSentCount = "" BytesThresholdTime = "" ConnectionsCurrentCount = "" ConnectionsHighCount = "" ConsumersCurrentCount = "" ConsumersHighCount = "" ConsumersTotalCount = "" DestinationsCurrentCount = "" DestinationsHighCount = "" DestinationsTotalCount = "" DestroyedTotalCount = "" IdleBeansCount = "" InitialRecoveredTransactionTotalCount = "" JMSServersCurrentCount = "" JMSServersHighCount = "" JMSServersTotalCount = "" MessagesCurrentCount = "" MessagesHighCount = "" MessagesPendingCount = "" MessagesReceivedCount = "" MessagesSentCount = "" MessagesThresholdTime = "" MissTotalCount = "" PendingRequestOldestTime = "" PooledBeansCurrentCount = "" ProducersCurrentCount = "" ProducersHighCount = "" ProducersTotalCount = "" RecoveredTransactionCompletionPercent = "" SecondsActiveTotalCount = "" SessionPoolsCurrentCount = "" SessionPoolsHighCount = "" SessionPoolsTotalCount = "" SessionsCurrentCount = "" SessionsHighCount = "" SessionsTotalCount = "" TimeoutTotalCount = "" Transacted = "" TransactionAbandonedTotalCount = "" TransactionCommittedTotalCount = "" TransactionHeuristicsTotalCount = "" TransactionRolledBackAppTotalCount = "" TransactionRolledBackResourceTotalCount = "" TransactionRolledBackSystemTotalCount = "" TransactionRolledBackTimeoutTotalCount = "" TransactionRolledBackTotalCount = "" TransactionTotalCount = "" TransactionsCommittedTotalCount = "" TransactionsRolledBackTotalCount = "" TransactionsTimedOutTotalCount = "" WaiterCurrentCount = "" WaiterTotalCount = "" ConnectionPoolCount = "" JSPPageCheckSecs = "" OpenSessionsCurrentCount = "" OpenSessionsHighCount = "" ServletReloadCheckSecs = "" SessionCookieMaxAgeSecs = "" SessionIDLength = "" SessionInvalidationIntervalSecs = "" SessionMonitoringEnabled = "" SessionTimeoutSecs = "" SessionsOpenedTotalCount = "" SingleThreadedServletPoolSize = "" ConnectionDelayTime = "" } # log.fields # Log Parsing Filters log.parsing_filters.parse = ` if (starts_with(current_log_line(), '{') and ends_with(current_log_line(), '}')) then ( v.message = substr(current_log_line(), 1, length(current_log_line()) - 2); while (matches_regular_expression(v.message, '^\\\\{([^=]*)=([^}]*)\\\\}(.*)$')) ( v.name = $1; v.value = $2; v.message = $3; if (v.name eq 'Timestamp') then ( if (matches_regular_expression(v.value, '^([0-9]+)-([0-9]+)-([0-9]+) ([0-9:]+)$')) then ( set_collected_field('', 'date', $3 . '-' . $2 . '-' . $1); set_collected_field('', 'time', $4); ); ); else set_collected_field('', v.name, v.value); ); set_collected_field('', 'events', 1); accept_collected_entry('', false); ); ` # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" Name = "" CachingDisabled = "" ObjectName = "" PoolState = "" ObjectName = "" CachingDisabled = "" Enabled = "" Status = "" DeploymentState = "" FilterDispatchedRequestsEnabled = "" IndexDirectoryEnabled = "" JSPDebug = "" JSPKeepGenerated = "" JSPVerbose = "" Durable = "" EJBComponent = "" HealthState = "" Active = "" } # database.fields database.numerical_fields = { events = { default = true entries_field = true } MaxCapacity = { default = "true" aggregation_method = "max" } CurrCapacity = { default = "true" aggregation_method = "average" average_denominator_field = "events" } ConnectionsTotalCount = { default = "true" aggregation_method = "average" average_denominator_field = "events" } ActiveConnectionsCurrentCount = { default = "true" aggregation_method = "average" average_denominator_field = "events" } ActiveConnectionsHighCount = { default = "true" aggregation_method = "max" } LeakedConnectionCount = { default = "true" } HighestNumAvailable = { default = "true" aggregation_method = "max" } NumAvailable = { default = "true" aggregation_method = "average" average_denominator_field = "events" } ConnectionDelayTime = { default = "true" aggregation_method = "average" average_denominator_field = "events" display_format_type = "duration_milliseconds" } ExecuteThreadCurrentIdleCount = "" PendingRequestCurrentCount = "" PendingRequestOld = "" ServicedRequestTotalCount = "" WaitSecondsHighCount = "" StatementProfileCount = "" PrepStmtCacheHitCount = "" ConnectionLeakProfileCount = "" WaitingForConnectionCurrentCount = "" ActiveConnectionsAverageCount = "" ExecuteThreadTotalCount = "" PrepStmtCacheMissCount = "" WaitingForConnectionHighCount = "" PreparedStatementCacheProfileCount = "" FailuresToReconnectCount = "" HighestNumUnavailable = "" NumUnavailable = "" DeploymentState = "" Destination = "" AccessTotalCount = "" ActiveTransactionsTotalCount = "" BeansInUseCount = "" BeansInUseCurrentCount = "" BytesCurrentCount = "" BytesHighCount = "" BytesPendingCount = "" BytesReceivedCount = "" BytesSentCount = "" BytesThresholdTime = "" ConnectionsCurrentCount = "" ConnectionsHighCount = "" ConsumersCurrentCount = "" ConsumersHighCount = "" ConsumersTotalCount = "" DestinationsCurrentCount = "" DestinationsHighCount = "" DestinationsTotalCount = "" DestroyedTotalCount = "" IdleBeansCount = "" InitialRecoveredTransactionTotalCount = "" JMSServersCurrentCount = "" JMSServersHighCount = "" JMSServersTotalCount = "" MessagesCurrentCount = "" MessagesHighCount = "" MessagesPendingCount = "" MessagesReceivedCount = "" MessagesSentCount = "" MessagesThresholdTime = "" MissTotalCount = "" PendingRequestOldestTime = "" PooledBeansCurrentCount = "" ProducersCurrentCount = "" ProducersHighCount = "" ProducersTotalCount = "" RecoveredTransactionCompletionPercent = "" SecondsActiveTotalCount = "" SessionPoolsCurrentCount = "" SessionPoolsHighCount = "" SessionPoolsTotalCount = "" SessionsCurrentCount = "" SessionsHighCount = "" SessionsTotalCount = "" TimeoutTotalCount = "" Transacted = "" TransactionAbandonedTotalCount = "" TransactionCommittedTotalCount = "" TransactionHeuristicsTotalCount = "" TransactionRolledBackAppTotalCount = "" TransactionRolledBackResourceTotalCount = "" TransactionRolledBackSystemTotalCount = "" TransactionRolledBackTimeoutTotalCount = "" TransactionRolledBackTotalCount = "" TransactionTotalCount = "" TransactionsCommittedTotalCount = "" TransactionsRolledBackTotalCount = "" TransactionsTimedOutTotalCount = "" WaiterCurrentCount = "" WaiterTotalCount = "" ConnectionPoolCount = "" JSPPageCheckSecs = "" OpenSessionsCurrentCount = "" OpenSessionsHighCount = "" ServletReloadCheckSecs = "" SessionCookieMaxAgeSecs = "" SessionIDLength = "" SessionInvalidationIntervalSecs = "" SessionMonitoringEnabled = "" SessionTimeoutSecs = "" SessionsOpenedTotalCount = "" SingleThreadedServletPoolSize = "" } # database.numerical_fields create_profile_wizard_options = { date_time_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" Name = true CachingDisabled = true ObjectName = true PoolState = true ObjectName = true CachingDisabled = true Enabled = true Status = true DeploymentState = true FilterDispatchedRequestsEnabled = true IndexDirectoryEnabled = true JSPDebug = true JSPKeepGenerated = true JSPVerbose = true Durable = true EJBComponent = true HealthState = true Active = true } # report_groups } # create_profile_wizard_options } # java_administration_mbean