Skip to main content

Modify an S3 auditing configuration

Contributors netapp-forry

You can modify the auditing parameters of individual buckets or the auditing configuration of all buckets selected for audit in the SVM.

Table 1. Procedure
If you want to modify the audit configuration for…​ Enter…​

Individual buckets

vserver object-store-server audit event-selector modify -vserver svm_name [-bucket bucket_name] [parameters to modify]

All buckets in the SVM

vserver object-store-server audit modify -vserver svm_name [parameters to modify]

Examples

The following example modifies an individual bucket auditing configuration to audit only write-only access events:

cluster1::> vserver object-store-server audit event-selector modify -vserver vs1 -bucket test-bucket -access write-only

The following example modifies the auditing configuration of all buckets in the SVM to change the log size limit to 10MB and to retain 3 log files before rotating.

cluster1::> vserver object-store-server audit modify -vserver vs1 -rotate-size 10MB -rotate-limit 3