﻿---
title: state filter element
description: The value for this setting must be one of SUCCESS, PARTIAL, FAILED, or IN_PROGRESS.  This setting determines what kind of snapshots will be passed. The...
url: https://www.elastic.co/elastic/docs-builder/docs/3028/reference/elasticsearch/curator/fe_state
products:
  - Elasticsearch
  - Elasticsearch Curator
---

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

```yaml
- filtertype: state
  state: SUCCESS
```

The value for this setting must be one of `SUCCESS`, `PARTIAL`, `FAILED`, or `IN_PROGRESS`.  This setting determines what kind of snapshots will be passed.
The default value for this setting is `SUCCESS`.