I am looking for documentation on how to properly configure audit logs for creating, updating, moving, publishing, unpublish, and deleting operations on assets and pages. All I can find is documentation on how to set up Maintenance/Audit Log Cleanup tasks in AEMaaCS. Can anyone refer me to the appropriate documentation or a good article on the topic?
Also, I am not sure if I should expect audit logs to appear in Cloud Manager UI or if are they only available via API?
Thanks,
Daniel
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hello @daniel-strmecki You can find all the details specific to AEM as a Cloud Service here - https://developer.adobe.com/events/docs/guides/using/aem/cloud-native/
Hope this helps!
Thanks
Narendra
Views
Replies
Total Likes
Hi @narendragandhi,
thanks, but I am not looking to process events, but to enable and forward the audit logs to Splunk.
Daniel
Views
Replies
Total Likes
I was looking at the code for aio-lib-java to see how its being done there - https://github.com/adobe/aio-lib-java/blob/75adbd97a3f113f0fbc5c07644ccde6a750625f9/aem/events_osgi_...
This mapping might help to get details on what events it's listening to. It does seem like there would be some custom code needed if you want to get these in the logs.
Thanks
Narendra
Views
Replies
Total Likes
Hello @daniel-strmecki
Option-1:
To capture audit events on AEM Instance, we can use Day CQ DAM Event Recorder configuration https://techrevel.blog/2019/10/13/aem-asset-reports/
Option-2:
To process events using Adobe I/O: https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/aem-eventing/overv...
Views
Replies
Total Likes
Hi @aanchal-sikka,
thanks, option 1 is what I am looking for, but I would like to log more events for pages and replication. Also, ideally, forward those logs to Splunk so the team can use them for analysis.
BR,
Daniel
Views
Replies
Total Likes
Hi @daniel-strmecki
To configure audit logs in AEMaaCS for operations such as creating, updating, moving, publishing, unpublishing, and deleting assets and pages, follow these steps:
Enable the Adobe CQ DAM Event Audit Listener:
Configure the Day CQ DAM Event Recorder:
These configurations will enable audit logging for the specified events in the Digital Asset Management (DAM) system. You can test the setup by performing operations such as modification, replication, or deletion on any asset or page through the AEM console.
Audit logs are stored in the repository under the path /var/audit/
. To access them:
/var/audit/
and review the logs.http://localhost:4502/system/console/slinglog
.audit.log
entry (not auditlog.log
) and set the log level to DEBUG
or TRACE
./crx-quickstart/logs
directory.Regarding access to audit logs in AEMaaCS, they are not directly available through the Cloud Manager UI. Instead, you can access them via the Cloud Manager API or command-line interface (CLI):
Using the Cloud Manager API:
Using the Adobe I/O CLI:
aio cloudmanager:download-logs
or aio cloudmanager:tail-log
to access logs.For detailed instructions on accessing and managing logs via the Cloud Manager UI and API, refer to Adobe's documentation.
Additionally, the ACS AEM Commons library provides an Audit Log Search tool that can help in searching and analyzing audit logs within AEM.
Please note that audit logs can consume significant disk space. It's essential to configure audit log purging in AEM to manage and minimize space usage. Regular maintenance tasks, such as the Audit Log Purge, help keep the author instance performant by removing older audit logs.
By following these steps and utilizing the available tools, you can effectively configure and manage audit logs for your AEMaaCS instance.
- Sravan
Views
Replies
Total Likes
Hi @B_Sravan,
thanks for the detailed response. I found the Day CQ DAM Event Recorder Service Config, but is there a similar Service to enable Page and Replication events?
Also, will the audit logs get forwarded to Splunk with the existing Log Forwarding configuration, or are some additional steps required?
Daniel
Views
Replies
Total Likes
If you are looking to search or pull up a report based on the audit log events, I recommend using https://adobe-consulting-services.github.io/acs-aem-commons/features/audit-log-search/index.html
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies