why sp_analytics_dashboard doesn't show in wso2 api manager console service providers when I enable analytics? - wso2

I just enabled wso2 analytics settings in wso2 API manager deployment.conf file, but I can't find sp_analytics_dashboard setting in service providers of carbon console.what is the problem?

If you are using the quick setup[1] and not the standard setup[2], you need to place the unzipped API-M pack and unzipped Analytics pack inside the same directory. This is because the default configurations such as database connection URLs etc are configured assuming that both the packs are inside the same folder.
[1] - https://apim.docs.wso2.com/en/3.2.0/learn/analytics/configuring-apim-analytics/#quick-setup.
[2] - https://apim.docs.wso2.com/en/3.2.0/learn/analytics/configuring-apim-analytics/#standard-setup

Related

WSO2 API Manager(wso2am-4.1.0) - Customize Login Pages for Developer Portal and Publisher

I'm trying to customize the login pages for the dev portal and publisher and I'm referring to the below documentation.
https://apim.docs.wso2.com/en/latest/reference/customize-product/customizations/customizing-login-pages-for-dev-portal-and-publisher/
The 1st step tells to download the Identity Server and in the 2nd step, it says to start up the server using api-manager.sh which could be a mistake.
However, I have the following questions related to the scenario.
In order to customize the login pages in APIM, should I start up the IS as a key manager as well?
Can't we customize the login pages just by using the JSP files readily available in the authentication endpoint in APIM?
I guess the documentation should be updated. You can use the existing jsp files in the authentication endpoint if you use OAuth2/OpenID. If you are using SAML, then you have to use WSO2 IS as the IDP with WSO2 API Manager.
Some samples can be found in [1].
By default API Manager uses OAuth2/OpenID. You can do the service provider configurations in API Manager. OAuth2/OpenID and SAML use the jsp files used in the authentication endpoint.
[1] - https://github.com/wso2/samples-is/tree/master/re-branding-the-default-login-page

WSO2 APIM Analytics 3.2.0 dashboard login page doesn't open

I am running WSO2 APIM 3.2.0 and Analytics 3.2.0 on different client servers. I did all the required settings to configure WSO2 APIM with WSO2 Analytics. Started both the servers successfully and WSO2 APIM URL's open well. But, when I open the Analytics Dashboard URL (https://<Analytics_Host>:9643/analytics-dashboard/login), I get the below warning in the dashboard server logs, and the login page does not appear. Only a blank screen appears.
WARN {org.wso2.msf4j.internal.MSF4JHttpConnectorListener} - Unmapped
exception feign.RetryableException: No subject alternative names
matching IP address <APIM_IP> found executing GET
https://<APIM_Host>:9443/api/am/admin/v0.16/custom-urls/carbon.super
In the browser console I can see errors as shown in the below screenshot.
One more thing I noticed is in the management console of WSO2 APIM, difference in Service Providers list when compared with my local. I didn't find all the service providers on the client server which I can see on my local.
WSO2 APIM Carbon Console Service Providers list on my local:
WSO2 APIM Carbon Console list on the client server:
Am I missing out on some configurations? Need suggestions on this issue.

How to install .car file in WSO2 API Manager

How to install a carbon application in WSO2 API Manger
I am getting the below error and not able to view the car file after installation.
2020-03-10 14:22:46 INFO Deploying Carbon Application : ShadowCompositeApplication_1.0.0.car...
2020-03-10 14:22:46 WARN No artifacts found to be deployed in this server. Ignoring Carbon Application :
WSO2 API Manager does not support deploying .car files at the moment. If you want to use a car file for the integration use case, then you can deploy in ESB/EI and proxy that via API Manager.

Publishing WSO2 api statisticcs

I'm following below links for publishing WSO2 statistics. But i'm getting "405 method not allowed" when i login to https://localhost:9443/admin-dashboard. So i'm unable to enable the statistics.
I'm using ws02 API 2.0 and ws02API analytics 2.0.
Could anyone help me on this.
Thanks,
Santosh
#santosh.a
I assume you have configured apim_wso2metrics_db datasource as common database for wso2am and wso2am-analytics. Next,Follow documentation to configure wso2am-analytics with wso2am-api-manager. Configuring APIM Analytics. Most important Step 2: Edit <APIM_HOME>/repository/conf/api-manager.xml and enable analytics and check the DASServerURL and DASRestApiURL, make sure it is pointing to analytics server IP.
Once configuration is enabled. you will be able to see analytics on API Store and API Publisher under statistics sections. You can also go to dashboard by https://<wso2am-analytics>/portal

Unable to access WSO2 EMM store and publisher via reverse proxy

I have setup WSO2 EMM 1.1.0 on a server but I want the requests to the server to flow through another server which has the reverse proxy entries being managed on nginx.
I am able to access the carbon management console, but not able to access the store or publisher.
The store or publisher sites redirect to /samlsso and /sso/login which are local redirects. I am not able to find the location of these redirects and how they can be modified.
Please help!
WSO2 EMM 1.1.0 was released with WSO2 Carbon 4.2.0 kernel. Hence you won't be able to use this method. Please use the configuration files given below and modify the "identityProviderURL" property to configure the location of SSO application.
https://github.com/wso2/product-emm/blob/1.1.0/modules/apps/emm/config/config.json
https://github.com/wso2/product-emm/blob/1.1.0/modules/apps/publisher/config/publisher.json
https://github.com/wso2/product-emm/blob/1.1.0/modules/apps/store/config/store.json
Regards,
Harshan
you can configure reverse proxy on any wso2 product by following documentation Adding a Custom Proxy Path