Escolar Documentos
Profissional Documentos
Cultura Documentos
IBM
ii IBM MB Insight Pack
Contents
IBM MB Insight Pack . . . . . . . .. 1 IBM MB Insight Pack Log annotation rules . . .. 5
Installing the IBM MB Insight Pack . . . . . .. 1 IBM MB Insight Pack index configuration . . .. 7
IBM MB Insight Pack configuration artifacts . .. 2 IBM MB Insight Pack dashboard . . . . . .. 11
Configuring the IBM MB Insight Pack . . . . .. 2 Configuring the IBM MB Insight Pack dashboard 11
Log File Agent configuration . . . . . . . .. 4 IBM MB Insight Pack References . . . . . .. 12
IBM MB Insight Pack Log splitter rules . . . .. 5 Support . . . . . . . . . . . . . .. 12
iii
iv IBM MB Insight Pack
IBM MB Insight Pack
The IBM® MB Insight Pack facilitates data ingestion and metadata searches of IBM
Message Broker and IBM Integration Bus log files in IBM Operations Analytics -
Log Analysis to enable faster problem identification.
The IBM MB Insight Pack supports searching and indexing of the following:
v console logs
– UNIX/Linux: /var/mqsi/components/broker_name/execution_group_uuid\
console.txt
– Windows: workpath\components\broker_name\execution_group_uuid\
console.txt
where workpath is the Message Broker defined working directory.
The console.txt log file includes information about the Broker ID, messages
from the Message Broker, log record, timestamps, Universally Unique ID for
IBM Integration Bus objects, and Java exceptions.
v Syslog
– UNIX/Linux: The syslog is the local error log. The configuration of your
UNIX/Linux system determines where the syslog messages are sent.
v UserTrace Logs
– UNIX/Linux: /var/mqsi/common/log
– - Windows: The default location without a specified integration node work
path is C:\ProgramData\IBM\MQSI\Common\log.
If the path is set with the -w parameter of the mqsicreatebroker command the
location is workpath/log.
The file names reflect the component and subcomponent for which the trace is
active.
For more information about UserTrace logs, see http://www-01.ibm.com/
support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/
ag66260_.htm
The IBM MB Insight Pack can be installed with IBM Operations Analytics - Log
Analysis 1.3.0.0 or higher.
1
Before you begin
You must install IBM Operations Analytics - Log Analysis 1.3.0.0 or higher.
Procedure
1. Upload the IBM MB Insight Pack archive file,
MessageBrokerInsightPack_<version>.zip, to the system where IBM Operations
Analytics - Log Analysis is installed.
2. Install the IBM MB Insight Pack by using the pkg_mgmt.sh command:
<HOME>/IBM/LogAnalysis/utilities/pkg_mgmt.sh -install
<path>/MessageBrokerInsightPack_<version>.zip
Where <path> is the path where you saved the IBM MB Insight Pack.
3. (Optional) If you are using the Log File Agent to load the data into IBM
Operations Analytics - Log Analysis, deploy the log file agent configuration
files with the following command:
<HOME>/IBM/LogAnalysis/utilities/pkg_mgmt.sh -deploylfa
<path>/MessageBrokerInsightPack_<version>.zip
Where <path> is the path where you saved the IBM MB Insight Pack.
The following artifacts are created when the IBM MB Insight Pack is installed:
v MessageBroker console log Insight Pack
– MsgBrokerSplitter : Splitter file set.
– MsgBrokerAnnotator : Annotator file set.
v MessageBroker syslog Insight Pack
– MsgBrokerSyslog_Splitter : Splitter file set.
– MsgBrokerSyslog_Annotator : Annotator file set.
– MB Dash.app : Dashboard app file
v MessageBroker User Trace log Insight Pack
– MsgBrokerUserTrace_Splitter : Splitter file set.
– MsgBrokerUserTrace_Annotator : Annotator file set.
– IIB User Trace Dashboard.app : Dashboard app file
Procedure
1. The default timestamp format that is supported by the Insight Pack for Message
Broker console log is yyyy-MM-dd HH:mm:ss.SSS. If the console log timestamp
format is different, you must create a new source type. To create a new source
type, complete the following steps:
a. In the Administrative settings, open the Data Types tab.
b. Select Create New Source Type.
The IBM MB Insight Pack splits log records on new line boundaries. In the
following syslog example each line is considered a new log record.
Mar 22 14:23:48 ldp3147 IIB[14903]: [ID 702911 user.info] IBM Integration Bus v9002
(EAIESB1PRD1BK.EG_COP_RIM_GATEWAY) [Thread 25] (Msg 1/1) BIP2154I:
Execution group finished with Configuration message.
Mar 22 14:23:49 ldp3147 IIB[14692]: [ID 702911 user.info] IBM Integration Bus v9002
(EAIESB2PRD1BK.EG_COP_OMD_SVCS1) [Thread 25] (Msg 1/1) BIP3132I:
The HTTP Listener has started listening on port ’7811’ for ’http’ connections.
For console logs, the IBM MB Insight Pack groups log records with multiple lines.
For example, the following log record has multiple lines that belong to the
exception in the first line. Therefore, the logs are grouped as one with a common
time stamp that corresponds to the first record.
2014-12-10 22:04:48.557 18 java.lang.NullPointerException
2014-12-10 22:04:48.557 18 at au.net.api.integration.iib.common.Config.<clinit>(Config.java:26)
2014-12-10 22:04:48.557 18 at java.lang.J9VMInternals.initializeImpl(Native Method)
2014-12-10 22:04:48.573 18 at java.lang.J9VMInternals.initialize(J9VMInternals.java:237)
For user trace logs, the IBM MB Insight Pack splits log records based on the
timestamp. Each timestamp found by the IBM MB Insight Pack, that matches the
UserTrace log timestamp format is considered a new log record, with the following
log lines grouped until the next matching timestamp is detected. For example, the
following log records match the UserTrace log timestamp format and have multiple
log lines.
2015-02-26 10:29:11.533585 3856 UserTrace BIP3484E: ’’TRAS0018I:
The trace state has changed.
The new trace state is *=info.’’
An embedded component has written the diagnostic message included here.
Refer to the appropriate message in the embedded component’s documentation.
The IBM MB Insight Pack annotates the syslog records based on the following
fields:
v timestamp
v SystemName
v Product
v Process
v severity
v version
v Broker
v ExecutionGroup
v ThreadID
v MessageGroup
v MessageID
v MessageText
v logRecord
The IBM MB Insight Pack annotates the UserTrace log records based on the
following fields:
v timestamp
v SystemName
v Product
v severity
v version
v ExecutionGroup
v ThreadID
v MessageID
v MessageText
v Node
v logRecord
The fields that are defined in the index configuration file, or annotations, are
displayed in the IBM Operations Analytics - Log Analysis search workspace, and
can be used to filter or search the log records.
Fields are extracted from the fields of a log record or collected from metadata
around the log file.
Table 1. Log index configuration for console logs
Field Description Attributes
timestamp The time that execution group wrote dataType = DATE
the stderr/stdout logs. The format is: retrievable = true
retrieveByDefault = true
yyyy-MM-dd HH:mm:ss.SSS
sortable = true
filterable = true
searchable = true
source = metadata
message The message that is written by the dataType = TEXT
execution group to the logs. retrievable = true
retrieveByDefault = true
sortable = false
filterable = false
searchable = true
source = annotations
UUID The Universally Unique ID of the dataType = TEXT
execution group. retrievable = true
retrieveByDefault = true
sortable = false
filterable = true
searchable = true
source = annotations
broker_name The broker name of the parent dataType = TEXT
process. retrievable = true
retrieveByDefault = true
sortable = true
filterable = true
searchable = true
source = annotations
thread_id The ID of the thread that initiated the dataType = TEXT
process. retrievable = true
retrieveByDefault = true
sortable = false
filterable = true
searchable = true
source = annotations
logRecord The entire log record. dataType = TEXT
retrievable = true
retrieveByDefault = true
sortable = false
filterable = false
searchable = true
source = metadata
Use the IBM MB Insight Pack dashboard to find Message Broker-related problems
in the shortest time and drilldown into the problem to identify the root cause.
The IBM MB Insight Pack dashboard app for syslog contains the following charts:
BIP2001I:Brk start, BIP2228E: Brk Abend
Displays broker start and end events.
BIP2208I: EG start, BIP2204I: EG Stop
Displays execution group start and end events.
HTTP Listener Start
Displays HTTP listener events.
Error, Warning and Info messages
Displays the distribution of error, warning, and information logs over time.
The IBM MB Insight Pack dashboard app for UserTrace log contains the following
charts:
Error Displays the error count over time. Counting is based on 1 minute
intervals.
Which Errors
Displays the number of occurrences of each MessageID corresponding to
an error message, in 1 minute intervals.
Message Flow and Node Error
Displays the Nodes and message flows that caused the error messages.
Procedure
To configure the IBM MB Insight Pack dashboard app, complete the following
steps
1. Copy the MB Dash.app or IIB User Trace Dashboard.app in the
<HOME>/IBM/LogAnalysis/AppFramework/Apps/
MessageBrokerInsightPack_<version> directory. Save the copied MB Dash.app
or IIB User Trace Dashboard.app with a new, unique name. For example,
MBDashboard1.app.
To display the data for the past 2 years in the dashboard, modify the
timefilters parameter as follows:
"filter": {
"timefilters": {
"granularity": "year",
"lastnum": 2,
"type": "relative"
}
}
5. Save the changes. To see the new dashboard, refresh the Search Dashboards
pane on IBM Operations Analytics - Log Analysis UI.
Support
To get support from the IBM support team, you can open a Problem Management
Record (PMR).
When you open a PMR to report an Insight Pack specific issue, the following
information must be included in the PMR:
Insight Pack and product information
Basic Insight Pack and product information.
Insight Pack name
The name of the Insight Pack.
Insight Pack version
The Insight Pack version.
Provide details for the issue that you are reporting. For example:
v Include sample log files, which are used against this insight pack.
v Provide a screen capture of the error message that is generated when you use
the Insight Pack.
v Describe the specific use case scenarios when the problem occurred while you
were using the Insight Pack.
v Include IBM Operations Analytics - Log Analysis log files, such as
GenericReceiver.log, or UnityApplication.log, for the problem window.