Audit log not rotating every 5 minutes
Applies to
- ONTAP 9
- Audit
Issue
- Log file rotation based on both the file size and schedule does not work as expected.
::> vserver audit show -vserver svm1 -instance
Vserver: svm1
Auditing State: true
Log Destination Path: /AuditLogs
Categories of Events to Audit: file-ops, file-share,
authorization-policy-change,
cifs-logon-logoff, cap-staging,
user-account, audit-policy-change
Log Format: xml
Log File Size Limit: 10MB
Log Rotation Schedule: Month: -
Log Rotation Schedule: Day of Week: -
Log Rotation Schedule: Day: -
Log Rotation Schedule: Hour: -
Log Rotation Schedule: Minute: 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55
Rotation Schedules: @:00,:05,:10,:15,:20,:25,:30,:35,:40,:45,:50,:55
Log Files Rotation Limit: 0
Log Retention Duration: 0s
- Log file rotates when its size is reached the configured size limit. However, it does not rotate at the scheduled time and rotates delayed.