Skip to main content
New Participant
February 6, 2017

OOTB Audit nodes under /var

  • February 6, 2017
  • 6 replies
  • 8587 views

Hi,

I see lot of audit nodes created under /var such as /var/audit/com.day.cq.wcm.core.page, /var/audit/com.day.cq.replication, /var/audit/com.day.cq.dam. As the application usage increases, day by day, the number of nodes created under these nodes is increasing and is adding to the repository size overall.

So wanted to check if we can clean up these nodes or is there any way to automatically clean up these nodes OOTB ?

Also, will there be any implications in cleaning up these nodes ?

Regards,

Ashwin Raju

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

6 replies

Sh1ju
New Participant
February 6, 2017

Audit logs needs to be cleaned on regular basis to maintain the repository at an optimal size.Use osgi configuration at “Audit log purge scheduler” to configure automatic audit log purging.

New Participant
February 17, 2017

Sh1ju wrote...

Audit logs needs to be cleaned on regular basis to maintain the repository at an optimal size.Use osgi configuration at “Audit log purge scheduler” to configure automatic audit log purging.

 

Hi Shiju,

I tried configuring the same but it did not remove the audit nodes. PFB the details. I'm using AEM 6.1 with SP2.

Regards, 

Ashwin Raju

New Participant
February 20, 2017

UPDATE : I now see the nodes purged per the configuration. But wanted to know the timing of this scheduler. Is it running once per week since I saw it not purging after a day or two.

sandeepm744005
New Participant
February 6, 2017

Ashwin Raju wrote...

Hi,

I see lot of audit nodes created under /var such as /var/audit/com.day.cq.wcm.core.page, /var/audit/com.day.cq.replication, /var/audit/com.day.cq.dam. As the application usage increases, day by day, the number of nodes created under these nodes is increasing and is adding to the repository size overall.

So wanted to check if we can clean up these nodes or is there any way to automatically clean up these nodes OOTB ?

Also, will there be any implications in cleaning up these nodes ?

Regards,

Ashwin Raju

 

You need to check version purge tool or set Version Manager configuration for explicitly purging old version.

https://docs.adobe.com/docs/en/aem/6-2/deploy/configuring/version-purging.html#Purge Versions Tool

New Participant
February 6, 2017

Hi Sandeep,

I believe the version is stored under /jcr:system/jcr:versionStorage and all OOTB audit information is stored under /var/audit for many events. The Version Purge won't help here I believe.

Regards,

Ashwin Raju