﻿---
title: skip_flush
description: If skip_flush is set to True, Curator will not flush indices to disk before closing. This may be useful for closing red indices before restoring. The...
url: https://www.elastic.co/elastic/docs-builder/docs/3028/reference/elasticsearch/curator/option_skip_flush
products:
  - Elasticsearch
  - Elasticsearch Curator
---

# skip_flush
<note>
  This setting is only used by the [close action](https://www.elastic.co/elastic/docs-builder/docs/3028/reference/elasticsearch/curator/close), and is optional.
</note>

```yaml
action: close
description: "Close selected indices"
options:
  skip_flush: False
filters:
- filtertype: ...
```

If `skip_flush` is set to `True`, Curator will not flush indices to disk before closing. This may be useful for closing red indices before restoring.
The default value is `False`.