# How can I make fields in Elasticsearch v8 match v7?

**URL:** <https://discuss.elastic.co/t/how-can-i-make-fields-in-elasticsearch-v8-match-v7/365025>\
**Category:** Elasticsearch\
**Created:** [August 16, 2024, 1:35pm UTC](https://discuss.elastic.co/t/how-can-i-make-fields-in-elasticsearch-v8-match-v7/365025 "2024-08-16T13:35:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![acarrazzoni-qontigo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/acarrazzoni-qontigo/32/136829_2.png) [@acarrazzoni-qontigo](https://discuss.elastic.co/u/acarrazzoni-qontigo)\
**Post date:** [August 16, 2024, 1:35pm UTC](https://discuss.elastic.co/t/how-can-i-make-fields-in-elasticsearch-v8-match-v7/365025/1 "2024-08-16T13:35:14Z")

</div>

I have a Elasticsearch environment I use for logging that I'm updating from v7 to v8 and I noticed that when I look at the logs in Kibana every field that has a name that ends with .keyword in v7 now has a name that ends with .raw in v8. Is there any way to make the name of the fields in Elasticsearch v8 match the name of the fields in v7? Changing the names of the fields means a lot of Kibana dashboards will break

---

<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:** [August 16, 2024, 8:48pm UTC](https://discuss.elastic.co/t/how-can-i-make-fields-in-elasticsearch-v8-match-v7/365025/2 "2024-08-16T20:48:01Z")

</div>

Welcome.

You might want to use [field aliases](https://www.elastic.co/guide/en/elasticsearch/reference/current/field-alias.html).
