# Fields .keyword

**URL:** <https://discuss.elastic.co/t/fields-keyword/314800>\
**Category:** Kibana\
**Created:** [September 20, 2022, 5:34pm UTC](https://discuss.elastic.co/t/fields-keyword/314800 "2022-09-20T17:34:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaname\_Nishioka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaname_nishioka/32/111048_2.png) [@Kaname\_Nishioka](https://discuss.elastic.co/u/Kaname_Nishioka)\
**Post date:** [September 20, 2022, 5:34pm UTC](https://discuss.elastic.co/t/fields-keyword/314800/1 "2022-09-20T17:34:02Z")

</div>

Hey guys,

My first post in this community, I need reindex all my fields setting type to keyword, but when I do this, the field ".keyword" is removed and my dashboards is deployed using field ".keyword", Is it possible to change dashboard fields using API?

I didn't find this in the documentation.

Thanks,

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [September 20, 2022, 6:10pm UTC](https://discuss.elastic.co/t/fields-keyword/314800/2 "2022-09-20T18:10:13Z")

</div>

Hello

Welcome ! Kibana offers a bunch of saved object APIs to manage Kibana saved objects, including dashboards, visualizations, and more.  
Have you tried this API: ( Update the attributes for existing Kibana saved objects.)

> **[Update object API | Kibana Guide \[8.4\] | Elastic](https://www.elastic.co/guide/en/kibana/current/saved-objects-api-update.html)**
>
> Conceptual and step-by-step procedures for using runtime fields, scripted fields, and field formatters.

[Update data view fields API | Kibana Guide [master] | Elastic](https://www.elastic.co/guide/en/kibana/master/data-views-fields-api-update.html) - Update fields presentation metadata, such as `count`, `customLabel`, and `format`. You can update multiple fields in one request. Updates are merged with persisted metadata. To remove existing metadata, specify `null` as the value.

Hope these help.  
Please feel free to come back here with more questions if you have.

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![Divit\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divit_sharma/32/32348_2.png) [@Divit\_Sharma](https://discuss.elastic.co/u/Divit_Sharma)\
**Post date:** [September 20, 2022, 7:34pm UTC](https://discuss.elastic.co/t/fields-keyword/314800/3 "2022-09-20T19:34:27Z")

</div>

While reindexing use the same template as the source index or atleast have all the keyword fields in the template mapping.

---

<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:** [October 18, 2022, 7:35pm UTC](https://discuss.elastic.co/t/fields-keyword/314800/4 "2022-10-18T19:35:17Z")

</div>

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