All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the identity.xml file in the  <IS_HOME>/repository/conf/identity  directory.
  2. Enable the following listener. 

    Listenerorg.wso2.carbon.identity.data.publisher.application.authentication.AuthnDataPublisherProxy
    Purpose
    • 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"/>
  3. Open the identity-event.properties file in the  <IS_HOME>/repository/conf/identity directory. 

  4. Enable the following event handlers.

    Event Handlerorg.wso2.carbon.identity.data.publisher.authentication.analytics.login.AnalyticsLoginDataPublishHandler
    Purpose

    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 Handlerorg.wso2.carbon.identity.data.publisher.authentication.analytics.session.AnalyticsSessionDataPublishHandler
    Purpose

    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

...