File: fe_threshold_behavior.md

package info (click to toggle)
elasticsearch-curator 9.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,740 kB
  • sloc: python: 18,836; makefile: 159; sh: 156
file content (22 lines) | stat: -rw-r--r-- 699 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
mapped_pages:
  - https://www.elastic.co/guide/en/elasticsearch/client/curator/current/fe_threshold_behavior.html
---

# threshold_behavior [fe_threshold_behavior]

::::{note}
This setting is only available in the [space](/reference/filtertype_space.md) filtertype. This setting is optional, and defaults to `greater_than` to preserve backwards compatability.
::::


```yaml
- filtertype: space
  disk_space: 5
  threshold_behavior: less_than
```

The value for this setting is `greater_than` (default) or `less_than`.

When set to `less_than`, indices in less than `disk_space` gigabytes will be matched. When set to `greater_than` (default), indices larger than `disk_space` will be matched.