Home >

LunaSH Command Reference Guide > LunaSH Commands > audit > audit log clear

audit log clear

Clear all of the audit log files from an HSM.

User Privileges

Only specialized Audit users can access audit commands.

Syntax

audit log clear [-serial <serialnum>] [-force]

Option Shortcut Description
-force -f

Force the action without prompting.

-serial <serialnum> -s

Specifies the serial number of the HSM from which you want to clear the logs. This option s required only when there are multiple attached HSMs.

Example

lunash:>audit log clear
 
   *** WARNING ***
 
        All audit logs for this HSM will be destroyed!!!
 
        Are you sure you wish to continue?
 
        Type proceed to continue, or quit to quit now -> proceed
 
 
Command Result : 0 (Success)