Endpoint configuration · GraphQL enum

AuditExpireAfterOperator enum

Logical operator used when an expire-after specification combines an age condition with a disk-space condition. See audit_control(5) for the expiration specification format.

Values

Enum Value Description

AND

Both the age condition and the disk-space condition must be met before a log file is removed. Example: expire-after: 60d AND 1G removes files older than 60 days only when aggregate log size exceeds 1 GB.

OR

Either the age condition or the disk-space condition alone is sufficient to expire a log file.

Used by

  • AuditExpireAfter type: Expiration policy for audit trail files, corresponding to the expire-after parameter in audit_control(5).

Example

Example

"AND"