Versions Compared

Key

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

...

  1. Configure WSO2 API Manager (WSO2 API-M) with WSO2 API-M Analytics, and start WSO2 API-M Analytics, WSO2 API Manager, and the WSO2 API-M Analytics Dashboard node in the latter mentioned order.
     For more information, see Configuring APIM see Integrating API Manager Analytics.
  2. Access the Business Rules via the WSO2 API-M Analytics dashboard.
    https://<HOSTNAME>:<DASHBOARD_PORT>/business-rules
    For example:  https://localhost:9643/business-rules
  3. Click the edit link that corresponds to the APIM DATA PURGING business rule.
    Image Removed Image Added
  4. Click Save and Deploy to enable data purging in the APIMIpAccessSummary and APIMIpAccessAlertCount tables.
    When the above business rule is enabled, it will purge data from APIMIpAccessSummary and APIMIpAccessAlertCount tables every time the trigger is triggered. The default time interval for the trigger is 1 years.
    Image Removed Image Added

    Info

    If you need to purge the data immediately or cannot wait for the next trigger, then you need to reduce the default time interval to trigger data purging by changing the Time Interval For Trigger value to a smaller value (e.g., one minutesminute). You can set the time interval for the triggerin seconds, minutes, hours, days, months, and years.