﻿---
title: Elasticsearch Curator allocation action option: allocation_type
description: The value of this setting must be one of require, include, or exclude. Read more about these settings at Index-level shard allocation The default value...
url: https://www.elastic.co/docs/reference/elasticsearch/curator/option_allocation_type
products:
  - Elasticsearch
  - Elasticsearch Curator
---

# Elasticsearch Curator allocation action option: allocation_type
<note>
  This setting is used only when using the [allocation action](https://www.elastic.co/docs/reference/elasticsearch/curator/allocation)
</note>

```yaml
action: allocation
description: "Apply shard allocation filtering rules to the specified indices"
options:
  key: ...
  value: ...
  allocation_type: ...
filters:
- filtertype: ...
```

The value of this setting must be one of `require`, `include`, or `exclude`.
Read more about these settings at [Index-level shard allocation](https://docs-demo.elastic.dev/docs/deploy-manage/distributed-architecture/shard-allocation-relocation-recovery/index-level-shard-allocation)
The default value for this setting is `require`.