This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Sorting Applications by Usage
- Publish through BAM (Publish data to BAM for processing)
- Directly write to Database
Â
Configuration:
In the 'app-manager.xml' file under 'APIUsageTracking' section 'UIActivityBAMPublishEnabled' key is available
To enable publish through BAM we need to set the value as 'true' else if we need to directly write to the table set the values as 'false'
If we are using the BAM publisher we can configure the Stream Name and version as well. For that edit the keys 'ApiManagerBamUiActivityStreamName' and 'ApiManagerBamUiActivityStreamVersion' in the 'app-manager.xml' file under 'APIStreamNameDefinition' section. And it refers the existing BAM settings (server url, username, password)
Further, to set the Data Source we need to change the value of the key 'UiActivityPublishDataSourceName' in the 'app-manager.xml'  (data will be saved in the mentioned database)
Â
Â