|
The default retentionPeriodInDaysOverride for OpenSearch audit is zero (0).
Zero (0) means no explicit override, so the system uses the deployment profile default audit retention (typically five days for internal/lab profiles and 30 days for other profiles respectively).
You can override the retention period as follows:
logging:
opensearchSecurityAuditLogs:
retentionPeriodInDaysOverride: days
where days is retention period in days.
Example:
logging:
opensearchSecurityAuditLogs:
enabled: true
includeReadOperations: true
retentionPeriodInDaysOverride: 30
|