I have enabled WSO2 EI to publish data to Analytics profile which resides inside wso2 EI product by default. API Request Count, Message Count , Message Latency are able to seen in dashboard. But I'm unable to find out anything in Messages section of API Page in Dashboard.
Synapse.properties file:
API Request Count :
API Message Count and Latency:
Message Section is Empty:
I'm unable to do search operation in Dashboard, Shall i know the reason for this?
Can you try configuring the following in synapse.properties file [1].
mediation.flow.statistics.enable=true
mediation.flow.statistics.tracer.collect.payloads=true
mediation.flow.statistics.tracer.collect.properties=true
[1]-https://docs.wso2.com/display/EI660/Publishing+ESB+Data+to+Analytics
Related
I am using wso2is-km-5.9.0 for serving our application authentication and SSO needs and we have coupled wso2is-analytics-5.8.0 with our Identity Server. I have followed the steps mentioned in the offical documentation i.e setting Analytics in api-manager.xml to True and enabling the eventpublishers but I'm unable to see any data in Analytics dashboard. Please refer the error logs for the same attached.
Why is the data not being populated in WSO2 analytics dashboard??
Analytics error log
Identity Server error log
With the new config model introduction, you should not edit the api-manager.xml file. It should be done via deployement.toml file.
Moreover you have to enable event listeners and publishes in deployment.toml file. This will enable publishing data to the analytics. You should refer the documentation in https://is.docs.wso2.com/en/5.9.0/learn/configuring-identity-analytics/ because IS and IS-KM is more similar, difference is having an apim-manger.xml file.
[[event_listener]]
id = "authn_data_publisher_proxy"
type = "org.wso2.carbon.identity.core.handler.AbstractIdentityMessageHandler"
name = "org.wso2.carbon.identity.data.publisher.application.authentication.AuthnDataPublisherProxy"
order = 11
[identity_mgt.analytics_login_data_publisher]
enable=true
[identity_mgt.analytics_session_data_publisher]
enable=true
I've configured WSO2 ESB Analytics and data seems to be posting to analytics server. But once clicked on Success or Failed records the relevant message flow data isnt displayed. I've configured data to be stored on oracle database. Any idea why this happens?
I'm using independent wso2 API manager 1.10.0 and wso2 DAS 3.0.0
I have configured REST client for publishing statistics
I published some event and i'm able to see some data in WSO2AM_STATS_DB datasource (api_request_summary,...)
The strange problem is that some statistics are showing in the publisher UI interface (API Subscriptions,API Response Times,API Last Access Times) but in the other pages I'm getting No Data Available message
Any explication to this strange message
I think your setup is working fine. You see data in AM_STATS_DB means published data is being analyzed and stored there. There are some pages in the stats page which will show the message "No data available" if there are no relevant data. For example the "Faulty invocation", "Throttled out requests" pages.
If you invoke an api with wrong token, it will appear in the faulty invocation page. If you send requests to an api until they get throttled out (high TPS), it will appear in the throttled out requests page.
I'm setting up WSO2 API Manager & WSO2 BAM. I folloed each and every step given in the below article.
http://umeshagunasinghe.blogspot.com/2013/11/how-to-configure-wso2-api-manager-to.html
I see below error in the terminal when I try to access the statistics page.
[2015-02-06 14:15:29,405] ERROR - usage:jag java.lang.NullPointerException: null
Below is the page I get.
I checked below questions as well. but didn't work out for me.
Why am I unable to view stats in the WSO2 API Manager Store?
Configuring WSO2 API Manager to use the WSO2 BAM Server
How can I fix this?
You see this error because there are no data to be shown. Please invoke APIs and try this page.
Please read the comments for more info
Can we stop service logs getting replicated in to "wso2carbon.log" in WSO2 ESB 4.0.3?
We have set up per service logs and we do not want the per service log getting replicated in the "wso2carbon.log"
I would be really thankful if any body can let me know.
Here is my typical log4j configuration
log4j.category.SERVICE_LOGGER.TQS_RMA=INFO, TQS_RMA_APPENDER
log4j.additivity.SERVICE_LOGGER.TQS_RMA=false
log4j.appender.TQS_RMA_APPENDER=org.apache.log4j.RollingFileAppender
log4j.appender.TQS_RMA_APPENDER.File=${carbon.home}/repository/logs/${instance.log}/tqs-rma-service.log
log4j.appender.TQS_RMA_APPENDER.MaxFileSize=1000KB
log4j.appender.TQS_RMA_APPENDER.MaxBackupIndex=10
log4j.appender.TQS_RMA_APPENDER.layout=org.apache.log4j.PatternLayout
As you have tried, setting additivity false should prevent logs being directed to ancestors.
See docs for service logging with WSO2 ESB.
See also this blog post for information.