﻿---
title: stats_result
description: The value for this setting can be either min_value or max_value.  This setting is only used when source is field_stats, and determines whether Curator...
url: https://www.elastic.co/elastic/docs-builder/docs/3028/reference/elasticsearch/curator/fe_stats_result
products:
  - Elasticsearch
  - Elasticsearch Curator
---

# stats_result
<note>
  This setting is only used with the [age](https://www.elastic.co/elastic/docs-builder/docs/3028/reference/elasticsearch/curator/filtertype_age) filtertype.
</note>

```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](https://www.elastic.co/elastic/docs-builder/docs/3028/reference/elasticsearch/curator/fe_source) is `field_stats`, and determines whether Curator will use the minimum or maximum value of [field](https://www.elastic.co/elastic/docs-builder/docs/3028/reference/elasticsearch/curator/fe_field) for time calculations.
The default value for this setting is `min_value`.