Skip to Content

Audit Config

New in Vinyl 2.6 we introduce the ability to configure Audit log file information being stored by a Vinyl application. By default, Vinyl does not automatically clean up or purge any records being stored in the Full Audit table. With this new Audit Config feature, an Administrator can now configure a time period to retain data for, after which Vinyl should purge audit records beyond the defined time frame.

Audit tables with this setting will be cleaned via a daily schedule nightly.

Note

As indicated on the screen where this gets configured, setting Audit Retention Days to a non-zero value will result in audit records being removed, including any snapshot that was taken when audit was turned on.

How to Configure Audit Config

To configure this setting, we assume you have a Data Source that already has Audit enabled.

  1. Go to the Control Center
  2. Select Applications from the Build menu
  3. Select the Application to configure
  4. Select the Business Logic navigation option
  5. Click the Data Sources navigation tab
  6. Select the Data Source to configure Audit for
  7. Locate the Audit section and click on the Audit Config button

    auditconfig.png

  8. The resultant Audit Table screen has an Audit Retention Days field which is customizable. When setting this value, note the guidance that tells you it will result in audit records being removed, including any snapshot taken when Audit was initially enabled.

    audittable.png

  9. Click the Edit button

  10. Enter the numeric value (in days) you want into the Audit Retention Days field. For example: 360
  11. Click the Save button
  12. Click Clean Audit Records in order to bring the Audit table inline with the newly configured value
  13. Vinyl will run and indicate how many records were removed from the Audit table

    cleanaudit.png