﻿---
title: threshold_behavior
description: 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...
url: https://www.elastic.co/elastic/docs-builder/docs/2967/reference/elasticsearch/curator/fe_threshold_behavior
products:
  - Elasticsearch
  - Elasticsearch Curator
---

# threshold_behavior
<note>
  This setting is only available in the [space](https://www.elastic.co/elastic/docs-builder/docs/2967/reference/elasticsearch/curator/filtertype_space) filtertype. This setting is optional, and defaults to `greater_than` to preserve backwards compatability.
</note>

```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.