Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Viewing AEM Audit Log without ACS Commons | AEM Community Blog Seeding

kautuk_sahni
Community Manager
Community Manager

BlogImage.jpg

Viewing AEM Audit Log without ACS Commons by exadel.com » Feed

Abstract

AEM Audit Log is a convenient way to check who modified what and when within AEM pages or assets.

ACS Commons provides an Audit Log Search tool which allows users to do an AEM Audit Log search and see what properties of a page (and enclosed components) have been altered.

But what if you don’t have access to ACS Commons in your Production environment or it doesn’t work as expected (see Pic. 1 below), but you still need to know what has been changed on a particular page? This article will show you how to find out in two steps:


Step #1. Navigate to audit log events in CRXDE.

AEM Audit Log entries for pages are located under the
/var/audit/com.day.cq.wcm.core.page

folder in the repository. An example for project ‘acme’ and page ‘testpage’ is in Pic. 2 below.

Log entries can also be found and sorted by date using the following SQL2 query (works in AEM 6.4 and older; AEM 6.5 returns an empty result set)
SELECT * FROM [cq:AuditEvent] AS comp WHERE ISDESCENDANTNODE(comp, '/var/audit/com.day.cq.wcm.core.page/content/acme/country/us/en/testpage') order by comp.[cq:time]


Step #2. Deserialize a binary with modified properties.

An AEM Audit Log entry contains information on what exactly was modified in a page and its enclosed components. A set of modified properties can be retrieved from the ‘cq:properties’ field.

Read Full Blog

Viewing AEM Audit Log without ACS Commons

Q&A

Please use this thread to ask the related questions.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies