log-retention-rules plugin reference
Auto-generated reference for the log-retention-rules plugin.
For install, configuration, and usage guidance, see the log-retention-rules plugin narrative.
log-retention-rules
Custom Objects
LogRetentionRule__mdt
Used to configure rules that set the value of Logc.LogRetentionDatec - each rules consists of 1 or more conditions, stored in LogRetentionRuleCondition__mdt
LogRetentionRuleCondition__mdt
Used to configure field-level conditions for retention rules - each condition checks a LogEntryc or Logc field for a specific value, regular expression (regex), or field comparisons
Plugins
LogRetentionFilter
Evaluates an SObject record to see if it matches the condition(s) defined in LogRetentionRule__mdt and its related
list of related LogRetentionRuleCondition__mdt records. The result is then used in LogRententionRulesPlugin to override
the value of Log__c.LogRetentionDate__c for any records that match the filters.
LogRetentionRulesPlugin
Optional plugin that adds the ability to create & deploy advanced, configurable rules
for setting the retention date of Log__c records, using custom metadata types
LogRetentionRule__mdt and LogRetentionRuleCondition__mdt .