Free Disk Space Log Retention Policy

Retention policy based on the free disk space available.

Parent Component Properties dsconfig Usage

Parent Component

The Free Disk Space Log Retention Policy component inherits from the Log Retention Policy

Properties

The properties supported by this managed object are as follows:


Basic Properties: Advanced Properties:
 description  None
 free-disk-space

Basic Properties

description

Description
A description for this Log Retention Policy
Default Value
None
Allowed Values
A string
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

free-disk-space

Description
Specifies the minimum amount of free disk space that should be available on the file system on which the archived log files are stored.
Default Value
None
Allowed Values
A positive integer representing a size. Lower limit is 1.
Multi-Valued
No
Required
Yes
Admin Action Required
None. Modification requires no further action


dsconfig Usage

To list the configured Log Retention Policies:

dsconfig list-log-retention-policies
     [--property {propertyName}] ...

To view the configuration for an existing Log Retention Policy:

dsconfig get-log-retention-policy-prop
     --policy-name {name}
     [--tab-delimited]
     [--script-friendly]
     [--property {propertyName}] ...

To update the configuration for an existing Log Retention Policy:

dsconfig set-log-retention-policy-prop
     --policy-name {name}
     (--set|--add|--remove) {propertyName}:{propertyValue}
     [(--set|--add|--remove) {propertyName}:{propertyValue}] ...

To create a new Free Disk Space Log Retention Policy:

dsconfig create-log-retention-policy
     --policy-name {name}
     --type free-disk-space
     --set free-disk-space:{propertyValue}
     [--set {propertyName}:{propertyValue}] ...

To delete an existing Log Retention Policy:

dsconfig delete-log-retention-policy
     --policy-name {name}