# Kibana

**URL:** <https://discuss.elastic.co/t/kibana/254730>\
**Category:** Kibana\
**Created:** [November 9, 2020, 10:44am UTC](https://discuss.elastic.co/t/kibana/254730 "2020-11-09T10:44:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syed.Ubaid](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@Syed.Ubaid](https://discuss.elastic.co/u/Syed.Ubaid)\
**Post date:** [November 9, 2020, 10:44am UTC](https://discuss.elastic.co/t/kibana/254730/1 "2020-11-09T10:44:38Z")

</div>

I have create an index and insert 5 records in kibana problem is that name field is showing in discover

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/c/4cecadc6cfc94237ea0f7063e8997d6e7f301901.png) but when i make visualisation name field is not in showing in the visualisation field. ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/0/10ac1a9f9b33722e00fbad979be9df1bb34d06ff.png) please help

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [November 9, 2020, 11:14am UTC](https://discuss.elastic.co/t/kibana/254730/2 "2020-11-09T11:14:46Z")

</div>

Check the mapping of your index - it looks like "Name" is a "text" field. Those can be viewed individually, but you can't aggregate over them (which is what visualizations do). Try changing the type of name to "keyword" in your mapping, re-ingesting your data and then refreshing the index pattern in Kibana, then the field should show up in Visualize

---

<div class="post-metadata">

**Author:** ![Syed.Ubaid](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@Syed.Ubaid](https://discuss.elastic.co/u/Syed.Ubaid)\
**Post date:** [November 9, 2020, 12:05pm UTC](https://discuss.elastic.co/t/kibana/254730/3 "2020-11-09T12:05:20Z")

</div>

can i update the mapping in the current index can i change the data type from text to keyword? please help if yes how

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [November 9, 2020, 1:43pm UTC](https://discuss.elastic.co/t/kibana/254730/4 "2020-11-09T13:43:22Z")

</div>

No, but you can create a separate index under a new name with the updated mapping next to your current index, then use the reindex API [https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html) to move the data over, then delete the source index.

---

<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:** [November 9, 2020, 9:59pm UTC](https://discuss.elastic.co/t/kibana/254730/5 "2020-11-09T21:59:35Z")

</div>

@Syed.Ubaid just wanted to pop in to ask that you please use more descriptive topic titles. Unfortunately yours doesn't really explain anything about what problem you are trying to solve, which makes it much harder for people to help 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:** [December 7, 2020, 9:59pm UTC](https://discuss.elastic.co/t/kibana/254730/6 "2020-12-07T21:59:35Z")

</div>

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