This documentation is for WSO2 Enterprise Integrator version 6.1.0 . View documentation for the latest release in the 6.x.x family and the latest release in the 7.x.x family.

All docs This doc
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Data purging is an option to remove historical data in ESB Analytics. This is important since you cannot delete tables or table data in ESB Analytics. By purging data, you can achieve high performance in data analysis without removing analyzed summary data. You can purge only stream data that are generated by the ESB profile that are contained in the following tables:

Do not purge data in tables other than those mentioned below because that deletes your summarized historical data.














There are two ways to purge data in ESB Analytics:

Using the Management Console

To schedule data purging via the Management Console, follow the steps below:

  1. Log in to the Management Console of the Analytics profile.
  2. In the Main tab, click Data Explorer to open the Data Explorer page.
  3. Select the required table in the Table Name field, and click Schedule Data Purging as shown below. 

    This opens the Schedule Data Purging dialog box.
  4. In the Schedule Data Purging dialog box, set the time and days within which you want to purge data as shown below, and click Save.

    Do not purge data that is less than 2 days old as it can result in a data loss.

  5. Repeat these steps for all the required tables to schedule them to be cleared regularly.

Using the global method

This action affects all tenants.

  1. Open the <EI_HOME>/wso2/analytics/conf/analytics/analytics-config.xml file.
  2. Change the content under the <analytics-data-purging> property as shown below:

    Change the value of the <data-retention-days> property as per your requirement. However, do not purge data that is less than 2 days old as it can result in a data loss.

        <cron-expression>0 0 12 * * ?</cron-expression>
  3. Save your changes.
  • No labels