File: fe_stats_result.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 (26 lines) | stat: -rw-r--r-- 741 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
---
mapped_pages:
  - https://www.elastic.co/guide/en/elasticsearch/client/curator/current/fe_stats_result.html
---

# stats_result [fe_stats_result]

::::{note}
This setting is only used with the [age](/reference/filtertype_age.md) filtertype.
::::


```yaml
 - filtertype: age
   source: field_stats
   direction: older
   unit: days
   unit_count: 3
   field: '@timestamp'
   stats_result: min_value
```

The value for this setting can be either `min_value` or `max_value`.  This setting is only used when [source](/reference/fe_source.md) is `field_stats`, and determines whether Curator will use the minimum or maximum value of [field](/reference/fe_field.md) for time calculations.

The default value for this setting is `min_value`.