Audit function is included in a vanilla DXP environment, and the audit logs are saved in Audit_AuditEvent. The concern is that the size of the data stored in the tables will grow too large from logging if the following property is set: audit.message.com.liferay.portal.model.Layout.VIEW=true
At this juncture, it seems that the only way to clear the audit logs is to remove them manually from Audit_AuditEvent. In addition to the feature request in
LPS-67932 which suggests the ability for Administrators to download user audit logs via the UI, this ticket requests functionality to (1) allow limiting of audit logs and (2) clear audit logs as a part of the maintenance items in Server Administration.