# I want to delete my main Index pattern but what will be consequences?

**URL:** <https://discuss.elastic.co/t/i-want-to-delete-my-main-index-pattern-but-what-will-be-consequences/252023>\
**Category:** Kibana\
**Created:** [October 14, 2020, 10:50am UTC](https://discuss.elastic.co/t/i-want-to-delete-my-main-index-pattern-but-what-will-be-consequences/252023 "2020-10-14T10:50:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kwiskas](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@Kwiskas](https://discuss.elastic.co/u/Kwiskas)\
**Post date:** [October 14, 2020, 10:50am UTC](https://discuss.elastic.co/t/i-want-to-delete-my-main-index-pattern-but-what-will-be-consequences/252023/1 "2020-10-14T10:50:39Z")

</div>

Hello  
on my Kibana I have a few index patterns to categorize logs when they are sent from logstash  
I have a global index pattern named filebeat-\*  
I have other inde patterns named this way: filebeat-_-myappname-_  
So the index get their own pattern regarding the app and the filebeat sending the logs

My main pattern has some issues: too much fields on it due to kv\_filter error not blocked by logstash and other grok\_parse errors

I fixed the issue from logstash and want to refresh the fields on my main index pattern, so i had the idea to delete it and recreate it

my question: what happens if i do this? Do the visualize, discover, and dashboard connected to filebeat-\* will use the new filebeat-\* or will it consider it as not the same index pattern and i will have to modify them all?

Thank you

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [October 14, 2020, 1:28pm UTC](https://discuss.elastic.co/t/i-want-to-delete-my-main-index-pattern-but-what-will-be-consequences/252023/2 "2020-10-14T13:28:34Z")

</div>

hi @Kwiskas,

you do not need to delete your index-pattern _if_ the title of the indexpattern remains the same (so in your case `filebeat*`). On the IndexPattern-page in Kibana, select your index-pattern, there's a refresh-button near the top-right. Click that one, and all the fields will refresh based on the new mapping in your Elasticsearch-index.

The answer is _yes_ btw. Some saved objects (e.g. visualizations etc...) are linked to an internal-identifier of that index-pattern, so deleting it will break those.

---

<div class="post-metadata">

**Author:** ![Kwiskas](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@Kwiskas](https://discuss.elastic.co/u/Kwiskas)\
**Post date:** [October 15, 2020, 3:37pm UTC](https://discuss.elastic.co/t/i-want-to-delete-my-main-index-pattern-but-what-will-be-consequences/252023/3 "2020-10-15T15:37:35Z")

</div>

Hello  
Thank you for the answer 😃  
This is what I was looking for. I know i can refresh field list but due to some issues with our kv\_filter a lot of stupid stuff came and filled with a lot lf bad things our field list on the index. it increased from 3k to 23k in two weeks and we didnt noticed it.  
So now i cannot anymore refresh field list without having to delete it

Thanks for the reply 🙂

---

<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:** [November 12, 2020, 3:37pm UTC](https://discuss.elastic.co/t/i-want-to-delete-my-main-index-pattern-but-what-will-be-consequences/252023/4 "2020-11-12T15:37:58Z")

</div>

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