# How to remove the duplicate fields in the index patter with the .Keyword

**URL:** <https://discuss.elastic.co/t/how-to-remove-the-duplicate-fields-in-the-index-patter-with-the-keyword/139608>\
**Category:** Elasticsearch\
**Created:** [July 11, 2018, 3:13pm UTC](https://discuss.elastic.co/t/how-to-remove-the-duplicate-fields-in-the-index-patter-with-the-keyword/139608 "2018-07-11T15:13:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vebabu](https://avatars.discourse-cdn.com/v4/letter/v/919ad9/32.png) [@vebabu](https://discuss.elastic.co/u/vebabu)\
**Post date:** [July 11, 2018, 3:13pm UTC](https://discuss.elastic.co/t/how-to-remove-the-duplicate-fields-in-the-index-patter-with-the-keyword/139608/1 "2018-07-11T15:13:30Z")

</div>

Also I can see duplicate fields in the index patter with the .Keyword .  
How to remove the .keyword field.  
AWS Elastic search :

 ![26%20AM](https://us1.discourse-cdn.com/elastic/original/3X/e/4/e4f7c93b72d82df88b3de2c7be4450ab6f9219dc.png)

Kibana Index pattern

 ![00%20AM](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1ee9d0ce37ec371c623eabbd08130769bda3fbcb.png)

Mapping in kIbana:

---

<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:** [July 11, 2018, 7:26pm UTC](https://discuss.elastic.co/t/how-to-remove-the-duplicate-fields-in-the-index-patter-with-the-keyword/139608/2 "2018-07-11T19:26:30Z")

</div>

Provide a mapping instead of letting elasticsearch decide for you.

---

<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 8, 2018, 7:26pm UTC](https://discuss.elastic.co/t/how-to-remove-the-duplicate-fields-in-the-index-patter-with-the-keyword/139608/3 "2018-08-08T19:26:32Z")

</div>

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