- filtertype: age source: creation_date direction: older unit: days unit_count: 3
The value of this setting will be used as a multiplier for unit.
point_of_reference = epoch - ((number of seconds in unit) * unit_count)
units are calculated as follows:
Calculated as 60 seconds
Calculated as 60 minutes (60*60)
Calculated as 24 hours (24*60*60)
Calculated as 7 days (7*24*60*60)
Calculated as 30 days (30*24*60*60)
Calculated as 365 days (365*24*60*60)
This setting must be set by the user or an exception will be raised, and execution will halt.
If this setting is used in conjunction with unit_count_pattern, the configured value will only be used as a fallback value in case the pattern could not be matched. The value -1 has a special meaning in this case and causes the index to be ignored when pattern matching fails.
See the age filter documentation for more information about time calculation.