﻿---
title: shrink_prefix
description: There is no default value for this setting. The value of this setting will be prepended to target index names.  If the source index were index, and the...
url: https://www.elastic.co/elastic/docs-builder/docs/3028/reference/elasticsearch/curator/option_shrink_prefix
products:
  - Elasticsearch
  - Elasticsearch Curator
---

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

```yaml
action: shrink
description: >-
  Shrink selected indices on the node with the most available space.
  Prepend target index names with 'foo-' and append a suffix of '-shrink'
options:
  shrink_node: DETERMINISTIC
  shrink_prefix: 'foo-'
  shrink_suffix: '-shrink'
filters:
  - filtertype: ...
```

There is no default value for this setting.
The value of this setting will be prepended to target index names.  If the source index were `index`, and the `shrink_prefix` were `foo-`, and the `shrink_suffix` were `-shrink`, the resulting target index name would be `foo-index-shrink`.