Retention policy based on the amount of space taken by all the log files on disk.
The Size Limit Log Retention Policy component inherits from the Log Retention Policy
The properties supported by this managed object are as follows:
Basic Properties: | Advanced Properties: |
---|---|
description | None |
disk-space-used |
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 |
Description | Specifies the maximum total disk space used by the log files. |
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 |
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 Size Limit Log Retention Policy:
dsconfig create-log-retention-policy --policy-name {name} --type size-limit --set disk-space-used:{propertyValue} [--set {propertyName}:{propertyValue}] ...
To delete an existing Log Retention Policy:
dsconfig delete-log-retention-policy --policy-name {name}