WSO2 API Analytics: From where the data gets into WSO2AM_STATS_DB

185 Views Asked by At

I am fairly new with WSO2 products and currently checking on the ApiM and Analytics products.

I am able to configure the WSO2 APIM and Analytics products successfully with SQL database and now able to get the stats as well. In further exploring, I want to know from where the data gets inserted into various tables inside WSO2AM_STATS_DB.

If its through events, then can some one please throw light on the same.

Thanks

1

There are 1 best solutions below

4
Tishan On

Yes it is though a collection of Siddhi Apps running in APIM Analytics which is based on Stream Processor. You can find corresponding siddhi apps under /wso2/worker/deployment/siddhi-files. Below are the files

APIM_ACCESS_SUMMARY.siddhi
APIM_FAULT_SUMMARY.siddhi
APIM_REQUEST_PROCESSOR.siddhi
APIM_WORKFLOW.siddhi

These are written using Siddhi and here is the link to siddhi query guide if you need to understand.