Home >

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

audit log untarlogs

Un-archives a previously archived log file to the local directory. The log file is restored to a subdirectory named with the HSM's serial number.

Syntax

audit log untarlogs [-file <logfilename>]   

Parameter Shortcut Description
-file -f Specifies the name of the archived log file to restore.

Example

[mylunasa] lunash:>audit log untarlogs -file x.tgz

Cannot find the file in /home/audit/lush_files/
Found files:
153593.lws  audit-153593.tgz

Command Result : 65535 (Luna Shell execution)
[mylunasa] lunash:>audit log untarlogs -file audit-153593.tgz

Extracting logs to audit home:

153593/
153593/hsm_153593_0000000a.log
153593/ready_for_archive/
153593/ready_for_archive/hsm_153593_00000003.log
153593/ready_for_archive/hsm_153593_00000002.log
153593/ready_for_archive/hsm_153593_00000007.log
153593/ready_for_archive/hsm_153593_00000005.log
153593/ready_for_archive/hsm_153593_00000004.log
153593/ready_for_archive/hsm_153593_00000009.log
153593/ready_for_archive/hsm_153593_00000008.log
153593/ready_for_archive/hsm_153593_00000006.log
153593/ready_for_archive/hsm_153593_00000001.log

To verify these logs see the 'audit secret import' command to import the HSM's
log secret.

Command Result : 0 (Success)