# What is a easiest way to rename field?

**URL:** https://discuss.elastic.co/t/what-is-a-easiest-way-to-rename-field/131864
**Category:** Elasticsearch
**Created:** [May 15, 2018, 7:14am UTC](https://discuss.elastic.co/t/what-is-a-easiest-way-to-rename-field/131864 "2018-05-15T07:14:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jong-Pil\_Jeong](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@Jong-Pil\_Jeong](https://discuss.elastic.co/u/Jong-Pil_Jeong)
#### Post date: [May 15, 2018, 7:14am UTC](https://discuss.elastic.co/t/what-is-a-easiest-way-to-rename-field/131864/1 "2018-05-15T07:14:59Z")

</div>

Hi.  
I want to rename filed without downtime or downtimeless.  
Already I have fileds belows

- cpu.total.pct
- cpu.total.max\_pct

I want to rename filed with same value.  
before after

- cpu.total.pct ==\> instance.count
- cpu.total.max\_pct ==\> instance.max\_count

Please help me.  
Thanks in advance.

---

<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: [May 15, 2018, 7:57am UTC](https://discuss.elastic.co/t/what-is-a-easiest-way-to-rename-field/131864/2 "2018-05-15T07:57:19Z")

</div>

You need to reindex the data in any case.

---

<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: [June 12, 2018, 8:03am UTC](https://discuss.elastic.co/t/what-is-a-easiest-way-to-rename-field/131864/3 "2018-06-12T08:03:59Z")

</div>

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