SANtricity 11.8 Commands ( CA08871-194 ~ 196 )

Save audit log records

The save auditLog command retrieves the audit log records.

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

save auditLog (all | (beginDate=date | endDate=date)
|(beginRecord=timestamp | endRecord=timestamp)) file="filename"

Parameters

Parameter Description

all

Allows you to retrieve all audit log records.

beginDate

Allows you to specify the beginning date to retrieve. The format for entering the date is MM:DD:YY in the client time zone. The first audit log record retrieved will be the first record that was posted on or after the specified date.

The midnight-to-midnight range is based on the client’s time zone.

endDate

Allows you to specify the ending date to retrieve. If not specified, then the last record in the log will be retrieved. The format for entering the date is MM:DD:YY in the client time zone. The last audit log record retrieved will be the last record that was posted on or before the specified date.

The midnight-to-midnight range is based on the client’s time zone.

beginRecord

Allows you to specify the beginning record to retrieve. The value is the integral value that represents the time stamp of the first audit log record, inclusive. If not specified, the first record in the log will be retrieved.

endRecord

Allows you to specify the ending record to retrieve. The value is the integral value that represents the time stamp of the last audit log record, inclusive. If not specified, then the last record in the log will be retrieved.

file

Allows you to specify the audit log’s output filename.

The audit log records are saved in the file in descending order, from newest to oldest.

Examples

SMcli -n Array1 -c "save auditLog all file="myAuditLog.txt";"

SMcli -n Array1 -c "save auditLog endRecord=1493070393313 file="myAuditLog.txt";"

SMcli -n Array1 -c "save auditLog beginDate=12:12:16 endDate=04:01:17 file="myAuditLog.txt";"


SMcli completed successfully.
Top of Page