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.

The audit log tarlogs and untarlogs commands affect the appliance file system, and do not involve the HSM -- they are working on logs that have previously been exported from the HSM.

User Privileges

Only specialized Audit users can access audit commands.

Syntax

audit log untarlogs [-file <logfilename>]

Argument(s) Shortcut Description
-file <logfilename> -f Specifies the name of the archived log file to restore.

Example

lunash:>audit log untarlogs -file x.tgz

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

Command Result : 65535 (Luna Shell execution)



lunash:>audit log untarlogs -file audit-66331.tgz

Extracting logs to audit home:

66331/
66331/ready_for_archive/
66331/ready_for_archive/hsm_66331_00000004.log
66331/ready_for_archive/hsm_66331_00000006.log
66331/ready_for_archive/hsm_66331_00000002.log
66331/ready_for_archive/hsm_66331_00000007.log
66331/ready_for_archive/hsm_66331_00000009.log
66331/ready_for_archive/hsm_66331_00000008.log
66331/ready_for_archive/hsm_66331_00000005.log
66331/ready_for_archive/hsm_66331_00000003.log
66331/hsm_66331_0000000a.log

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

Command Result : 0 (Success)