Skip to main content
NetApp Knowledge Base

Audit log not rotating every 5 minutes

Views:
765
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

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.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.