# Elastic Cloud: exceeds the automatic field expansion limit of \[1024\]

**URL:** <https://discuss.elastic.co/t/elastic-cloud-exceeds-the-automatic-field-expansion-limit-of-1024/318411>\
**Category:** Elasticsearch\
**Created:** [November 8, 2022, 10:10am UTC](https://discuss.elastic.co/t/elastic-cloud-exceeds-the-automatic-field-expansion-limit-of-1024/318411 "2022-11-08T10:10:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcowart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rcowart/32/88091_2.png) [@rcowart](https://discuss.elastic.co/u/rcowart)\
**Post date:** [November 8, 2022, 10:10am UTC](https://discuss.elastic.co/t/elastic-cloud-exceeds-the-automatic-field-expansion-limit-of-1024/318411/1 "2022-11-08T10:10:49Z")

</div>

Is there a new limitation in Elastic Cloud 8.x instances that prevents the use of `index.mapping.total_fields.limit` greater than 1024 in an index template? Seeing a deprecation issue “exceeds the automatic field expansion limit of [1024]“.

Is there a way to raise this limit?

---

<div class="post-metadata">

**Author:** ![hollerloudly](https://avatars.discourse-cdn.com/v4/letter/h/f05b48/32.png) [@hollerloudly](https://discuss.elastic.co/u/hollerloudly)\
**Post date:** [November 8, 2022, 12:33pm UTC](https://discuss.elastic.co/t/elastic-cloud-exceeds-the-automatic-field-expansion-limit-of-1024/318411/2 "2022-11-08T12:33:25Z")

</div>

Is this what you are looking for?

> **[Mapping limit settings | Elasticsearch Guide \[8.5\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-settings-limit.html)**

E.g.

```auto
PUT /<index>/_settings
{
  "index.mapping.total_fields.limit" : 2048
}

```

While you can increase the limit, the suggestion is it's usually not advisable on performance grounds. Too many fields suggest there would be a benefit in adjusting mapping and/or indexing to reduce this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 6, 2022, 12:48pm UTC](https://discuss.elastic.co/t/elastic-cloud-exceeds-the-automatic-field-expansion-limit-of-1024/318411/4 "2022-12-06T12:48:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
