Use the procedure below to analyze WSO2 ESB using WSO2 Analytics.
- To tune the performance for publishing ESB statistics in the Analytics Dashboard, see Tuning Analytics.
- To troubleshoot ESB Analytics, you can use a debugging log by adding the following line to the
<ESB_HOME>/repository/conf/log4j.properties
file.
log4j.logger.org.wso2.carbon.das.messageflow.data.publisher=DEBUG
- Log into the WSO2 Analytics Management Console.
- In the Main tab, click Analytics Dashboard, and log into the Analytics Dashboard by entering your credentials in the log in dialog box that appears. The following dashboard is displayed by default.
- Click View to open the ESB Analytics dashboard. This dashboard is displayed as shown in the example below.
The contents of the Overview page are displayed by default. To view statistics for a specific date range, select the required date range from the top right menu bar. If you want to view statistics for a specific date, click Custom in the menu bar and enter the required date. For more information on analyzing the statistics displayed in the Overview page, see Analyzing ESB Statistics Overview. - To view statistics for a proxy service, click on the relevant proxy service in the TOP PROXY SERVICES BY REQUEST COUNT gadget. This opens the Overview/Proxy page. You can also click Proxy Service in the left navigator to open this page and search for the required proxy service. For more information on analyzing the information displayed in this page, see Analyzing Statistics for Proxy Services.
- To view statistics for a REST API, click on the relevant REST API in the TOP APIS BY REQUEST COUNT gadget. This opens the Overview/API page. You can also click API in the left navigator to open this page and search for the required REST API. For more information on analyzing the information displayed in this page, see Analyzing Statistics for REST APIs.
- To view statistics for an endpoint, click on the relevant endpoint in the TOP ENDPOINTS BY REQUEST COUNT gadget. This opens the Overview/Endpoint page. You can also click Endpoint in the left navigator to open this page and search for the required endpoint. For more information on analyzing the information displayed in this page, see Analyzing Statistics for Endpoints.
- To view statistics for an inbound endpoint, click on the relevant inbound endpoint in the TOP INBOUND ENDPOINTS BY REQUEST COUNT gadget. This opens the Overview/Inbound Endpoint page. You can also click Inbound Endpoint in the left navigator to open this page and search for the required endpoint. For more information on analyzing the information displayed in this page, see Analyzing Statistics for Inbound Endpoints.
- To view statistics for a mediation sequence, click on the relevant sequence in the TOP SEQUENCES BY REQUEST COUNT gadget. This opens the Overview/Sequence page. You can also click Sequence in the left navigator to open this page and search for the required sequence. For more information on analyzing the information displayed in this page, see Analyzing Statistics for Sequences.