# Need help to remove unwanted fields from index permanently

**URL:** <https://discuss.elastic.co/t/need-help-to-remove-unwanted-fields-from-index-permanently/187981>\
**Category:** Elasticsearch\
**Created:** [June 28, 2019, 7:20am UTC](https://discuss.elastic.co/t/need-help-to-remove-unwanted-fields-from-index-permanently/187981 "2019-06-28T07:20:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nishant\_Hurnekar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nishant_hurnekar/32/47955_2.png) [@Nishant\_Hurnekar](https://discuss.elastic.co/u/Nishant_Hurnekar)\
**Post date:** [June 28, 2019, 7:20am UTC](https://discuss.elastic.co/t/need-help-to-remove-unwanted-fields-from-index-permanently/187981/1 "2019-06-28T07:20:29Z")

</div>

I am running with ELK cluster 5.6.16.

In my one of the index, there were around 2.3k fields detected. I have checked through kibana interface.

Is there any method to restrict the fields to detect garbage fields & allow selected fields only to index ?

I am looking for settings to configure permanently into elasticsearch config.

---

<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:** [July 26, 2019, 7:20am UTC](https://discuss.elastic.co/t/need-help-to-remove-unwanted-fields-from-index-permanently/187981/2 "2019-07-26T07:20:30Z")

</div>

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