WSO2 APIM Setup - wso2

I followed the tutorial here:
https://docs.wso2.com/display/AM191/Publishing+API+Runtime+Statistics+Using+WSO2+DAS#PublishingAPIRuntimeStatisticsUsingWSO2DAS-ConfiguringWSO2APIManager
On configuring WSO2 API Manager, I cannot seem to configure Analytics when I am inside the Admin Portal. Is there some configuration first that needs to be done?

You are looking at APIM 1.9.1 documentation. But it looks like you are using latest APIM which is 2.0.0. In 2.0.0 you can configure analytics in api-manager.xml only. See APIM 2.0.0 documentation.
One important thing about APIM 2.0.0 is, you don't need to configure DAS from scratch. Now DAS is pre-configured with required CApps and shipped as wso2am-analytics-2.0.0.zip. You can download it from APIM Product page itself.

Related

Can use WSO2 4.1 APIM and WSO2 Analytics together

We are using WSO2 APIM 4.1 version and we are looking to configure APIM Analytics, can we use old WSO2 APIM Analytics together with 4.1 version without Choreo which is not available as free.
AFAIK you can't use the old APIM Analytics with the latest APIM version, but instead of Choreo you can use ELK Stack to push your analytics data. Have a look at this. At the same time, you can also write your own event publisher to publish Analytics to any external system.

How To Configure WSO2 API Manager version 4.0.0 with Analytics version 3.2.0?

WSO2 API Manager Version 4.0.0 is Working Fine With Choreo Analytics but Is there Any Way to Configure API Manager Version 4.0.0 with API-M Analytics Version 3.2.0?
No, this is not possible with API Manager 4.0.0.
The API Manager v4.0.0 has gone through a lot of architectural changes and the Handlers and implementations related to publishing Analytics Data to the APIM Analytics server have been removed. Therefore, with my understanding, it is not possible to achieve the same in the v4.0.0 environment.
With the API Manager 4.0 release, the API Analytics was completely revamped and offered as a cloud-based analytics solution to provide users with an unparalleled analytics experience. Therefore, integrating APIM Analytics 3.2.0 with APIM 4.0.0 is not a possible/advisable solution due to architectural constraints.

How to manage billing with WSO 2 AM (2.0.0)

I would like to combine WSO2 AM and DAS with billing function.
I tried to set it by referring to the following site, but the article did not correspond to WSO2 APIM(2.0.0).
http://wso2.com/library/articles/2016/07/article-enabling-monetization-of-apis-with-wso2-api-manager/
http://www.rukspot.com/Publishing_APIM_1100_Runtime_Statistics_to_DAS.html
I want to publish WSO 2 APIM(2.0.0) runtime statistics to DAS.
But,WSO2 AM(2.0.0) does not have admin-dashboard like WSO2 AM(1.10.X).
・Should I lower the WSO2 AM version?
・Is there a procedure / article based on WSO 2 AM (2.0.0)?
・Do you have my point should be noted?
Thanks a lot.
From 2.0.0 onwards, it's called admin portal, and the URL is https://localhost:9443/admin. However, analytics configurations are removed from Admin Portal UI. So you have to use api-manager.xml file to configure analytics.
Refer this doc to configure analytics in 2.0.0.
Also, note that online service based on API Manager - WSO2 API Cloud - has API monetization and billing integration available out-of-box - just configure your billing plans and bank account and start collecting money: https://docs.wso2.com/display/APICloud/Enable+Monetization
There´s a guide on the same blog that you linked
http://www.rukspot.com/configure_wso2_das_for_apim_analytics.html
This is for configuring DAS. If you only care about analytics data for apim I would recommend the new wso2am-analytics instead of the DAS. It's made specially for the apim and much easier to configure. See the guide that Bhatiya provided on how to configure wso2am-analytics.
The article is for APIM 1.10.0 and DAS 3.0.x. If you want to try this with APIM 2.0.0 you need to used the sample billing engine in this repo. checkout the tag am-2.0 and check.

WSO2 API Manager Data Analytics Server Version Compatibility

Is Latest Version of WSO2 API Manager(2.0.0) compatible with latest version of WSO DAS(3.1.0)?
In the download page of WSO2 API Manager 2.0.0, only WSO DAS 2.0.0 download is mentioned for Analytics.
Yes, they are compatible.
2nd question is not much clear. Could you please tell where it says about DAS 2.0.0? Actually, there is no version 2.0.0 in DAS. It was called BAM before.
If you're talking about wso2am-analytics-2.0.0.zip pack, it's a customized version of DAS 3.0.x. It has required CAR files installed and is configured to work with APIM, with less manual configurations.

WSO2 ESB Managing feature repository

I am trying to get available features from wso2 esb 4.5 from the repository http://dist.wso2.org/p2/carbon/releases/4.0.1/
I can see this repository by browing the URL in IExplorer with a proxy configurated. I have add the sample wrapper.conf file to wso2 esb/repository/conf with the following lines
wrapper.java.additional.10=-Dhttp.proxyHost=192.168.xx.xx
wrapper.java.additional.11=-Dhttp.proxyPort=8000
with no success.
Any help?
Wrapper mode has been removed since Carbon 4.0.0 which ESB 4.5 is based on. So this will not work.