Expand my Community achievements bar.

SOLVED

How to do DAM and Replication Audit Log Purging

Avatar

Level 1

Hi I have configured the Audit Log Purging for the below audits

  1. Page Audit Log Purging
  2. DAM Audit Log Purging
  3. Replication Audit Log Purging

I have referred this page for configuring it - https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/operations-au...

 

While Page audit Log Purging is working fine, the other 2 (DAM and Replication) is not working. 

For Page Audit Log Purge we have a job already configured OOTB at tools -> Operations -> Maintenance -> Weekly maintenance. But for other 2 ther is no jobs available in Maintenance page.

 

So how AEM is reading the configuration for DAM and Replication and purging.

 

Regards,

Niraj

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @nirajk2 

 

If you configure all the 3 below mentioned Purging rules and run the weekly "AuditLog Maintenance Task" on all the 3 rules will run internally. You will be able to see the same on error.log.

  1. Page Audit Log Purging
  2. DAM Audit Log Purging
  3. Replication Audit Log Purging

Please see below:

18.06.2021 21:17:45.236 *INFO* [pool-21-thread-1] com.day.cq.audit.AbstractAuditLogPurgeRule {name = your-project, eventTypes = [ASSET_EXPIRING, ASSET_EXPIRED, ACCEPTED, ASSET_REMOVED, ASSET_CREATED, ASSET_MOVED, VERSIONED, REJECTED], contentPath = /com.day.cq.dam/content/dam/your-project, minimumAge = 60} activated
18.06.2021 21:17:45.236 *INFO* [pool-21-thread-1] com.day.cq.audit.AbstractAuditLogPurgeRule {name = your-project, eventTypes = [Delete, Reverse, Activate, Test, Deactivate, Internal Poll], contentPath = /com.day.cq.replication/content/your-project, minimumAge = 60} activated
18.06.2021 21:17:45.236 *INFO* [pool-21-thread-1] com.day.cq.audit.AbstractAuditLogPurgeRule {name = your-project, eventTypes = [PageRestored, PageValid, PageMoved, PageDeleted, PageModified, PageCreated, PageInvalid, PageRolled Out, VersionCreated], contentPath = /com.day.cq.wcm.core.page/content/your-project, minimumAge = 60} activated

 

If all works well then you will see status in green.

 

asutosh_jena_0-1624031547972.png

Thanks!

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @nirajk2 

 

If you configure all the 3 below mentioned Purging rules and run the weekly "AuditLog Maintenance Task" on all the 3 rules will run internally. You will be able to see the same on error.log.

  1. Page Audit Log Purging
  2. DAM Audit Log Purging
  3. Replication Audit Log Purging

Please see below:

18.06.2021 21:17:45.236 *INFO* [pool-21-thread-1] com.day.cq.audit.AbstractAuditLogPurgeRule {name = your-project, eventTypes = [ASSET_EXPIRING, ASSET_EXPIRED, ACCEPTED, ASSET_REMOVED, ASSET_CREATED, ASSET_MOVED, VERSIONED, REJECTED], contentPath = /com.day.cq.dam/content/dam/your-project, minimumAge = 60} activated
18.06.2021 21:17:45.236 *INFO* [pool-21-thread-1] com.day.cq.audit.AbstractAuditLogPurgeRule {name = your-project, eventTypes = [Delete, Reverse, Activate, Test, Deactivate, Internal Poll], contentPath = /com.day.cq.replication/content/your-project, minimumAge = 60} activated
18.06.2021 21:17:45.236 *INFO* [pool-21-thread-1] com.day.cq.audit.AbstractAuditLogPurgeRule {name = your-project, eventTypes = [PageRestored, PageValid, PageMoved, PageDeleted, PageModified, PageCreated, PageInvalid, PageRolled Out, VersionCreated], contentPath = /com.day.cq.wcm.core.page/content/your-project, minimumAge = 60} activated

 

If all works well then you will see status in green.

 

asutosh_jena_0-1624031547972.png

Thanks!