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

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

```yaml
- filtertype: allocated
  key: ...
  value: ...
  allocation_type: require
  exclude: True
```

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