# Remove specific fields from index pattern

**URL:** <https://discuss.elastic.co/t/remove-specific-fields-from-index-pattern/242165>\
**Category:** Elasticsearch\
**Created:** [July 22, 2020, 9:58am UTC](https://discuss.elastic.co/t/remove-specific-fields-from-index-pattern/242165 "2020-07-22T09:58:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfenman](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@sfenman](https://discuss.elastic.co/u/sfenman)\
**Post date:** [July 22, 2020, 9:58am UTC](https://discuss.elastic.co/t/remove-specific-fields-from-index-pattern/242165/1 "2020-07-22T09:58:53Z")

</div>

Hello,

I am using filebeat to parse my logs to Elasticsearch and after some testing with the dissect processor on ingest pipelines, I created too many random fields by mistake as I have noticed from my index patterns on kibana. How can I remove those fields from my index pattern without the need to delete the whole index? Perhaps deleting only the documents with those fields? Also, if I rotate this index and delete it, will this also remove any old index patterns that are not anymore present ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 22, 2020, 11:20am UTC](https://discuss.elastic.co/t/remove-specific-fields-from-index-pattern/242165/2 "2020-07-22T11:20:32Z")

</div>

TLDR - you can't.

You need a reindex to drop fields. Rotating the index _may_ work, with a refresh of the pattern in Kibana.

---

<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:** [August 19, 2020, 11:20am UTC](https://discuss.elastic.co/t/remove-specific-fields-from-index-pattern/242165/3 "2020-08-19T11:20:37Z")

</div>

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