Skip to main content

Set Audit Log settings

The set auditLog command configures the audit log settings.

Supported Arrays

This command applies to an individual DE2000H, DE4000H, DE4000F, DE6000H, or DE6000F storage array.

Roles

To execute this command on an storage array, you must have the Security Admin role.

Syntax


set auditLog (logLevel={all | writeOnly} |
fullPolicy={overwrite | preventSystemAccess} |
maxRecords=n | warningThreshold=n)

Parameters

ParameterDescription
logLevel Allows you to specify the level of logging. Valid choices are: all and writeOnly . The default value is writeOnly .
fullPolicy Allows you to specify the policy when the log is full. Valid choices are: overwrite and preventSystemAccess .
maxRecords Allows the user to specify the maximum number of records to be stored where n is an integer starting at 30000 and ending at 50000.
warningThreshold Allows you to specify the percentage at which a warning alert will be sent to indicate that the audit log is nearing full when full policy is set to preventSystemAccess . Use integer values between 0 to 100. Setting this parameter to 0 (zero) disables the warning alerts.

Examples


SMcli -n Array1 -c "set auditLog logLevel=writeOnly fullPolicy=preventSystemAccess maxRecords=40000 warningThreshold=90;"

SMcli completed successfully.