1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
---
mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/client/curator/current/fe_range_to.html
---
# range_to [fe_range_to]
::::{note}
This setting is only used with the [period](/reference/filtertype_period.md) filtertype
::::
```yaml
- filtertype: period
source: name
range_from: -1
range_to: -1
timestring: '%Y.%m.%d'
unit: days
```
[range_from](/reference/fe_range_from.md) and range_to are counters of whole [units](/reference/fe_unit.md). A negative number indicates a whole unit in the past, while a positive number indicates a whole unit in the future. A `0` indicates the present unit.
Read more about this setting in context in the [period filtertype documentation](/reference/filtertype_period.md), including examples.
|