File: fe_exclude.md

package info (click to toggle)
elasticsearch-curator 8.0.21-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,716 kB
  • sloc: python: 17,838; makefile: 159; sh: 156
file content (33 lines) | stat: -rw-r--r-- 723 bytes parent folder | download
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
26
27
28
29
30
31
32
33
---
mapped_pages:
  - https://www.elastic.co/guide/en/elasticsearch/client/curator/current/fe_exclude.html
---

# exclude [fe_exclude]

::::{note}
This setting is available in *all* filter types.
::::


If `exclude` is `True`, the filter will remove matches from the actionable list. If `exclude` is `False`, then only matches will be kept in the actionable list.

The default value for this setting is different for each filter type.

## Examples [_examples_2]

```yaml
- filtertype: opened
  exclude: True
```

This filter will result in only `closed` indices being in the actionable list.

```yaml
- filtertype: opened
  exclude: False
```

This filter will result in only `open` indices being in the actionable list.