I have a dam in AEM 6.3 that has a large audit log stored under /var/audit/com.day.cq.dam and I want to reduce its size with a weekly purge. The dam audit log is so large that the Timeline feature in Touch UI doesn't work so it needs to be purged. I can see an osgi config named "DAM audit Log Purge rule" under /system/console/configMgr but I don't see how to get that rule running in the weekly maintenance tasks at /libs/granite/operations/content/maintenanceWindow.html/libs/settings/granite/operations/maintenance/granite_weekly . What is the best way to call the DAM audit Log Purge rule once a week?
Solved! Go to Solution.
Thanks! I configured a DAM audit Log Purge rule and observed in the error.log that it did run when I ran the weekly "AuditLog Maintenance Task". The AEM doc doesn't mention the dam purge rule and the Granite maintenance page doesn't link to the dam purge rule, but it does run after you configure it in the osgi console.