...
Table of Contents | ||||
---|---|---|---|---|
|
Downloading and installing the Monitoring Tool
To download and install the monitoring tool, follow the steps below:
- Apply the latest WUM update to the following product packs. For more information, see WSO2 Administration Guide - Using WSO2 Update Manager.
- WSO2 Open Banking - API Manager 2.6.0
- WSO2 OPen Banking - API Manager Analytics 2.6.0
To enable the publisher to publish monitoring statistics, open the
<WSO2OB_AM_HOME>/repository/conf/api-manager.xml
file and update thePublisherClass
element underAnalytics
as shown below.Code Block language xml <PublisherClass> com.wso2.finance.open.banking.gateway.uk.monitoring.publisher.OBUsageDataBridgeDataPublisher </PublisherClass>
- Restart WSO2 Open Banking - API Manager 2.6.0 server.
- Download the zip file with the Monitoring Tool from here.
- Unzip the file you downloaded to extract the Monitoring Tool.
Creating a report in CSV format
Once you have downloaded and extracted the Monitoring Tool, you can create a report that consists of two CSV files as follows:
Open the
config.properties
file in the extracted zip file and update the properties.Info Information about the properties that can be configured are included as code comnments comments in the
config.properties
file.Copy your database driver class jar to the
libs
directory of your extracted directory. Then rename the jar it todb.jar
.
This allows the Monitoring tool to connect to the Consent DB database that is already set up for WSO2 Open Banking.Issue the following command to create the two CSV files of the report.
java -jar com.wso2.finance.open.banking.analytics.uk.monitoring.tool-1.2.0.jar
Info | ||||
---|---|---|---|---|
| ||||
The report generated as described above consists of the following two filestwo files. These two files can be used as datasets to generate other output (e.g., PDF documents, dashboards etc.). These two files are as follows:
|