snaplock log show

Display audit log configuration.

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The snaplock log show command displays the following information about the SnapLock log infrastructure:

Parameters

{ [-fields <fieldname>, ...]
If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
| [-instance ]}
If you specify the -instance parameter, the command displays detailed information about all fields.
[-vserver <vserver name>] - Vserver Name
If this parameter is specified, the command displays the log information for Vserveers that match the specified value.
[-volume <volume name>] - Log Volume Name
If this parameter is specified, the command displays the log configuration for volumes that match the specified value.
[-max-log-size {<integer>[KB|MB|GB|TB|PB]}] - Maximum Size of Log File
If this parameter is specified, the command displays the log configuration with a matching -max-log-size value.
[-default-retention-period {{<integer> seconds|minutes|hours|days|months|years} | infinite}] - Default Log Record Retention Period
If this parameter is specified, the command displays the log configuration with a matching -default-retention-period value.

Examples

		    cluster1::> snaplock log show -vserver vs1

			Vserver Name                        : vs1
			Log Volume Name                     : 15MB
			Maximum Size of Log File            : 15MB
			Default Log Record Retention Period : 6 months
	    
		    cluster1::> snaplock log show
		    Vserver           Volume              Maximum Size        Retention Period
		    ----------------- ------------------- ------------------- --------------------
		    vs1               vol1                15MB                6 months