跳到主要内容

验证审核配置

完成审核配置后,应验证审核配置是否正确,以及审核是否已启用。

验证审核配置:vserver audit show -instance -vserver vserver_name
以下命令会以列表形式显示存储虚拟机(SVM)vs1 的所有审核配置信息:vserver audit show -instance -vserver vs1

Vserver: vs1
Auditing state: true
Log Destination Path: /audit_log
Categories of Events to Audit: file-ops
Log Format: evtx
Log File Size Limit: 200MB
Log Rotation Schedule: Month: -
Log Rotation Schedule: Day of Week: -
Log Rotation Schedule: Day: -
Log Rotation Schedule: Hour: -
Log Rotation Schedule: Minute: -
Rotation Schedules: -
Log Files Rotation Limit: 0