SANtricity 11.8 Commands ( CA08871-194 ~ 196 )

Delete audit log records

The delete auditLog command deletes some or all of the records in the audit log.

Supported Series

This command applies to an individual HB2100/HB2200/HB2300, HB5100/HB5200, AB6100 or AB3100 storage system.

Roles

To execute this command on an HB2100/HB2200/HB2300, HB5100/HB5200, AB6100, or AB3100 storage system, you must have the Security Admin role.

Syntax

delete auditLog (all | (endRecord=timestamp | endDate=date) |
 (retentionCount=integer))

Parameters

Parameter Description

all

Allows you to delete all audit log records.

endRecord

Allows you to specify the ending record to delete, starting from the oldest record. The value is the integral value that represents the time stamp of the last audit log record, inclusive.

endDate

Allows you to specify the ending date to delete, starting from the oldest record. The format for entering the date is MM:DD:YY in the client time zone.

The audit log records, including the date specified, will be deleted.

retentionCount

Allows you to specify the number of the newest audit log records to be retained.

Examples

SMcli -n Array1 -c "delete auditLog all;"

SMcli -n Array1 -c "delete auditLog endRecord=1493070393313;"

SMcli -n Array1 -c "delete auditLog endDate=04:30:17;"

SMcli -n Array1 -c "delete auditLog retentionCount=1000;"

SMcli completed successfully.
Top of Page