Audit Log Maintenance in AEM 6
- Topics:
- Operations
CREATED FOR:
- Admin
AEM events that qualify for audit logging generate much archived data. This data can quickly grow over time due to replications, asset uploads and other system activities.
The Audit Log Maintenance includes several parts of functionality that enables the ability to automate audit log maintenance under specific policies.
It is implemented as a configurable weekly maintenance task and is accessible via the Operations Dashboard monitoring console.
For more information, refer to the Operations Dashboard Documentation.
There are three types of Audit Log Purge options:
Each can be configured by creating rules in the AEM Web Console. After they have been configured, you can trigger them by going to Tools - Operations - Maintenance - Weekly Maintenance Window and running the AuditLog Maintenance Task.
Configure Page Audit Log Purging
Follow these steps in order to configure Audit Log Purging:
-
Go to the Web Console Admin by pointing your browser to
http://localhost:4502/system/console/configMgr/
-
Search for an item called Pages audit Log Purge rule and click it.
-
Next, configure the purge scheduler according to your requirements. The available options are:
- Rule name: the name of the audit policy rule;
- Content path: the path of the content the rule will apply to;
- Minimum age: the time in days the audit logs need to be kept;
- Audit log type: the type of audit log that should be purged.
NOTE
The content path only applies to children of the/var/audit/com.day.cq.wcm.core.page
node in the repository. -
Save the rule.
-
The rule you just created needs to be exposed in the Operations Dashboard in order for it to be executed. In order to do this, go Tools - Operations - Maintenance from the AEM Welcome screen.
-
Press the Weekly Maintenance Window card.
-
You will find the maintenance task already present under the AuditLog Maintenance Task card.
-
You can either inspect the date of the next execution, configure it, or manually executing it by pressing the play button.
In AEM 6.3, if the scheduled maintenance window closes before the Audit Log Purge task can complete, the task stops automatically. It will resume when the next maintenance window opens.
With AEM 6.4, you can manually stop a running Audit Log Purge Task by clicking the Stop icon. On the next execution the task will safely resume.
Configure DAM Audit Log Purging
-
Navigate to the System Console at https://<serveraddress>:<serverport>/system/console/configMgr
-
Search for DAM audit Log Purge rule and click the result.
-
In the next window, configure your rule accordingly. The options are:
- Rule name: the name of the audit policy rule;
- Content path: the path of the content the rule will apply to
- Minimum age: the time in days the audit logs need to be kept
- Audit Log Dam event types: the types of DAM audit events that should be purged.
-
Click Save to save your configuration
Configure Replication Audit Log Purging
-
Navigate to the System Console at https://<serveraddress>:<serverport>/system/console/configMgr
-
Search for Replication audit Log Purge Scheduler and click on the result
-
In the next window, configure your rule accordingly. The options are:
- Rule name: the name of the audit policy rule
- Content path: the path of the content the rule will apply to
- Minimum age: the time in days the audit logs need to be kept
- Audit log Replication event types: the types of Replication audit events that should be purged
-
Click Save to save your configuration.
Experience Manager
- Administering User Guide overview
- Sites Features
- Website Administration
- Reusing Content: Multi Site Manager and Live Copy
- Live Copy Overview Console
- Configuring Live Copy Synchronization
- Creating and Synchronizing Live Copies
- MSM Rollout Conflicts
- MSM Best Practices
- Translating Content for Multilingual Sites
- Managing Translation Projects
- Identifying Content to Translate
- Preparing Content for Translation
- Creating a Language Root Using the Classic UI
- Connecting to Microsoft Translator
- Configuring the Translation Integration Framework
- Language Copy Wizard
- Translation Enhancements
- Translation Best Practices
- Configurations and the Configuration Browser
- AEM FAQs
- Operations
- Dashboards
- Operations Dashboard
- Backup and Restore
- Data Store Garbage Collection
- Monitoring Server Resources Using the JMX Console
- Working with Logs
- Configure the Rich Text Editor
- Configure the Video component
- The Bulk Editor
- Configuring Email Notification
- Configuring RTE for Producing Accessible Sites
- The Link Checker
- Troubleshooting AEM
- Audit Log Maintenance in AEM 6
- Editor
- Managing Access to Workflows
- Using cURL with AEM
- Configuring Undo for Page Editing
- Proxy Server Tool (proxy.jar)
- Configuring for AEM Apps
- Administering Workflows
- Configuring Search Forms
- Tools Consoles
- Reporting
- Administering Workflow Instances
- Configuring Layout Container and Layout Mode
- Enabling Access to Classic UI
- Starting Workflows
- Configure the Rich Text Editor plug-ins
- Admin Consoles
- Security
- User Administration and Security
- User, Group and Access Rights Administration
- Security Checklist
- OWASP Top 10
- Running AEM in Production Ready Mode
- Identity Management
- Adobe IMS Authentication and Admin Console Support for AEM Managed Services
- Creating a Closed User Group
- Mitigating serialization issues in AEM
- User Synchronization
- Encapsulated Token Support
- Single Sign On
- How to Audit User Management Operations in AEM
- SSL By Default
- SAML 2.0 Authentication Handler
- Closed User Groups in AEM
- Granite Operations - User and Group Administration
- Enabling CRXDE Lite in AEM
- Configuring LDAP with AEM 6
- Configure the Admin Password on Installation
- Service Users in AEM
- Encryption Support for Configuration Properties
- Handling GDPR Requests for the AEM Foundation
- Content Disposition Filter
- Personalization
- eCommerce
- Integration
- Integrating with Third-Party Services
- Integrating with Salesforce
- Integrating with Adobe Target
- Integrating with Adobe Analytics
- Connecting to Adobe Analytics and Creating Frameworks
- Configuring Link Tracking for Adobe Analytics
- Mapping Component Data with Adobe Analytics Properties
- Configuring Video Tracking for Adobe Analytics
- HTTP2 Delivery of Content FAQ
- Troubleshooting your Adobe Campaign Integration
- SharePoint Connector Licenses, Copyright Notices, and Disclaimers
- SharePoint Connector
- DHTML Viewer End-of-Life FAQs
- Integrating with Adobe Campaign Classic
- Related Community Articles
- Integrating with Adobe Campaign Standard
- Flash Viewers End-of-Life Notice
- Integrating with Adobe Creative Cloud
- Integrating with Adobe Dynamic Tag Management
- Opting Into Adobe Analytics and Adobe Target
- AEM Portals and Portlets
- Integrating with Dynamic Media Classic
- Troubleshooting Integration Issues
- Integrating with BrightEdge Content Optimizer
- Best Practices for Email Templates
- Catalog Producer
- Integrating with Silverpop Engage
- Integrating with Adobe Campaign
- Integrating with ExactTarget
- Analytics with External Providers
- Integrating with the Adobe Marketing Cloud
- Manually Configuring the Integration with Adobe Target
- Prerequisites for Integrating with Adobe Target
- Adobe Classifications
- Solutions Integration
- Target Integration with Experience Fragments
- Best Practices
- Content Management