Fetch report for all the authoring changes made to a particular page in AEM for a selected date range in AEM 6.5 | Community
Skip to main content
Level 4
February 5, 2024
Solved

Fetch report for all the authoring changes made to a particular page in AEM for a selected date range in AEM 6.5

  • February 5, 2024
  • 2 replies
  • 1613 views

My goal is to write a custom code/query which will fetch and show the components that were changed/modified and if any new component has been added or if an existing component has been deleted for a certain page for a selected date range. Any ideas/suggestions with any possible code snippet is highly appreciated. Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by narendragandhi

Hi @arindam6600 

 

This feature is already available in ACS Commons audit log search - https://adobe-consulting-services.github.io/acs-aem-commons/features/audit-log-search/index.html

 

Have you already explored it and do let us know for any feedback or issue you might see with it.

 

Thanks

Narendra

2 replies

narendragandhi
Community Advisor
narendragandhiCommunity AdvisorAccepted solution
Community Advisor
February 5, 2024

Hi @arindam6600 

 

This feature is already available in ACS Commons audit log search - https://adobe-consulting-services.github.io/acs-aem-commons/features/audit-log-search/index.html

 

Have you already explored it and do let us know for any feedback or issue you might see with it.

 

Thanks

Narendra

Level 4
February 5, 2024

I have already created an audit log oak index but still I see this when running the tool. All the properties are set to true.



 

 

narendragandhi
Community Advisor
Community Advisor
February 5, 2024

Hi @arindam6600 

 

I had to make few updates to the index to make it work (main definition) - 

 

(cq:path node)

 

The index definition might need to be updated to include additional properties being included in search. Below screenshot covers what a cq:AuditEvent looks like to show all fields -

 

 

Can you try and confirm if it works for you.

kautuk_sahni
Community Manager
Community Manager
February 6, 2024

@arindam6600 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
Level 4
February 6, 2024

Hi @kautuk_sahni - I'm still facing issues after modifying the indexes and I've furnished those details in the comment above. Waiting for @narendragandhi's expertise to get this up and running. Thanks!

narendragandhi
Community Advisor
Community Advisor
February 6, 2024

Hi @arindam6600  Try with this updated index defintion - https://drive.google.com/file/d/1fqhD_ukI7S3rXXj-2nDFBGfqmWPPFrkQ/view?usp=sharing

 

I tested in my local and is seem to work fine.

 

Thanks

Narendra