0
votes

We have setup WSO2 API manager and also APIM Analytics following the below link (https://docs.wso2.com/display/AM200/Configuring+APIM+Analytics) but we are not able to see any analytical data in publisher or store.

We see the message "Data Publishing Enabled. Generate some traffic to see statistics". However, even after generating the traffic, nothing appears. We also checked in the database and don't see any records added to the database tables.

Can anyone help in getting this issue resolved. Thanks

1

1 Answers

1
votes

If you have enabled stat publishing correctly, you should see the following info log in wso2 API Manager side.

INFO {org.wso2.carbon.databridge.core.DataBridge} - user admin connected {org.wso2.carbon.databridge.core.DataBridge}

You can also check if the data has published to the APIM Analytics node. Do the following.

  1. Log into APIM Analytics management console - https://localhost:9444/carbon
  2. Click on Data Explorer in Main menu.
  3. Select table as 'ORG_WSO2_APIMGT_STATISTICS_PERMINUTEREQUEST'.

You should see data in these tables, if the data has been published.

Basically, Analytics node will summarize the data and save the summarized data in the external database. When showing the data in the publisher and store, it will retrieve those data from the database.

If you are using mysql or any other database apart from h2, you need to point to the same stat database in APIM and Analytics nodes.