# Limit of total fields \[1000\] in index \[p\_bs\_api\_abcd\_2020\_23\] has been exceeded

**URL:** <https://discuss.elastic.co/t/limit-of-total-fields-1000-in-index-p-bs-api-abcd-2020-23-has-been-exceeded/235476>\
**Category:** Logstash\
**Created:** [June 3, 2020, 6:41am UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-in-index-p-bs-api-abcd-2020-23-has-been-exceeded/235476 "2020-06-03T06:41:41Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Saravana\_Maadavan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saravana_maadavan/32/60232_2.png) [@Saravana\_Maadavan](https://discuss.elastic.co/u/Saravana_Maadavan)\
**Post date:** [June 5, 2020, 8:25am UTC](https://discuss.elastic.co/t/limit-of-total-fields-1000-in-index-p-bs-api-abcd-2020-23-has-been-exceeded/235476/9 "2020-06-05T08:25:05Z")

</div>

Thanks Rahul.

I made the changes in template to array format , even then the \_cat/templates shows index pattern to the default value logstash-\*.

As per [Logstash 7.0 does ignore index\_patterns / template fields in template and overrules that with "logstash-\*"](https://discuss.elastic.co/t/logstash-7-0-does-ignore-index-patterns-template-fields-in-template-and-overrules-that-with-logstash/179341), seems there to be a bug in logstash 7.0. So have added **ilm\_enabled =\> false** in my logstash output.

> output {  
> elasticsearch {  
> hosts =\> ["localhost:61000"]  
> index =\> "%{capability}\_%{+YYYY\_ww}"  
> ilm\_enabled =\> false  
> manage\_template =\> true  
> template =\> '/config/etc/logstash/templates/increased\_field\_limit.json'  
> template\_name =\> 'increased\_field\_limit'  
> template\_overwrite =\> true  
> }  
> }

Post the above changes, in \_cat/templates I am able to see the index pattern has been updated and matching with the index names too. But still I am receiving the error "reason"=\>"Limit of total fields [1000] in index [XXXXX] has been exceeded"

Is it being caused by ilm\_enabled =\> false or anything else to be checked?  
Or a version upgrade would solve the issue?  
Or should I reindex?

Any help much appreciated please.

Cheers,  
Maadavan

---

_[View the full topic](https://discuss.elastic.co/t/limit-of-total-fields-1000-in-index-p-bs-api-abcd-2020-23-has-been-exceeded/235476)._
