Following are the prerequisites that should be fulfilled, in order for the Analytics Dashboard to publish the data processed by WSO2 IS.
...
- Open the
identity.xmlfile in the<IS_HOME>/repository/conf/identitydirectory. Enable the following listener.
Listener org.wso2.carbon.identity.data.publisher.application.authentication.AuthnDataPublisherProxyPurpose - This event listener is common to all types of analytics in WSO2 IS.
- It captures all the event statistics sent to WSO2 IS Analytics, and redirects them to the relevant listener based on the type.
- This listener is required to enable both session analytics and login analytics.
Configuration Code Block <EventListener type="org.wso2.carbon.identity.core.handler.AbstractIdentityMessageHandler" name="org.wso2.carbon.identity.data.publisher.application.authentication.AuthnDataPublisherProxy" orderId="11" enable="true"/>Open the
identity-event.propertiesfile in the<IS_HOME>/repository/conf/identitydirectory.Enable the following event handlers.
Event Handler org.wso2.carbon.identity.data.publisher.authentication.analytics.login.AnalyticsLoginDataPublishHandlerPurpose Enable this handler only when you want to analyze login statistics in WSO2 IS. For more information, see Analyzing Statistics for Local Login Attempts.
Configuration Code Block analyticsLoginDataPublisher.enable=true
Event Handler org.wso2.carbon.identity.data.publisher.authentication.analytics.session.AnalyticsSessionDataPublishHandlerPurpose Enable this handler only when you want to analyze session statistics in WSO2 IS Analytics. For more information, see Analyzing Statistics for Sessions.
Configuration Code Block analyticsSessionDataPublisher.enable=true
...