What is a easiest way to rename field?

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.

You need to reindex the data in any case.