# Limit of total fields \[1000\] in index \[metricbeat-2017.05.09\] has been exceeded

**URL:** <https://discuss.elastic.co/t/limit-of-total-fields-1000-in-index-metricbeat-2017-05-09-has-been-exceeded/85081>\
**Category:** Elasticsearch\
**Created:** [May 9, 2017, 12:11pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-in-index-metricbeat-2017-05-09-has-been-exceeded/85081 "2017-05-09T12:11:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exocomp](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@Exocomp](https://discuss.elastic.co/u/Exocomp)\
**Post date:** [May 9, 2017, 12:11pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-in-index-metricbeat-2017-05-09-has-been-exceeded/85081/1 "2017-05-09T12:11:54Z")

</div>

I'm getting the following error:

java.lang.IllegalArgumentException: Limit of total fields [1000] in index [metricbeat-2017.05.09] has been exceeded

The issue is temporarliy resolved with the following:

PUT metricbeat-\*/\_settings  
{  
"index.mapping.total\_fields.limit": 2000  
}

However, it starts up again the next day, how can I make the change persist to the next day ?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 9, 2017, 12:34pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-in-index-metricbeat-2017-05-09-has-been-exceeded/85081/2 "2017-05-09T12:34:40Z")

</div>

You can update/create an index template

---

<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:** [June 6, 2017, 12:45pm UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-in-index-metricbeat-2017-05-09-has-been-exceeded/85081/3 "2017-06-06T12:45:11Z")

</div>

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