# Rename values on influxdb

**URL:** <https://community.influxdata.com/t/rename-values-on-influxdb/9259>\
**Category:** InfluxDB 2\
**Created:** [April 1, 2019, 6:48pm UTC](https://community.influxdata.com/t/rename-values-on-influxdb/9259 "2019-04-01T18:48:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RoofAquaponics\_DeLux](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/roofaquaponics_delux/32/2740_2.png) [@RoofAquaponics\_DeLux](https://community.influxdata.com/u/RoofAquaponics_DeLux)\
**Post date:** [April 1, 2019, 6:48pm UTC](https://community.influxdata.com/t/rename-values-on-influxdb/9259/1 "2019-04-01T18:48:20Z")

</div>

Hi,  
I am new to Influx and I have a question.

I have a table with the following measurements:  
time sensor temperatur

* * *

1552683815994000000 28-02131d9887aa 24.625  
554143704283000000 28-00000a290397 25.562  
1554143705563000000 28-02131d8fddaa 15.187  
1554143706763000000 28-0114330246ab 20.312

One of the sensor is brocken, and the new one has another ID. I can’t change the ID itself.  
I would like to update now the ID of the old sensor in Influxdb to the new ID, to have all measurements allocated to one ID.

Something like Update"28-00000a290397 to 28-00000456789", timestamp and temperature should not change.

Any ideas?

Thank you!

---

<div class="post-metadata">

**Author:** ![scott](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/scott/32/16492_2.png) [@scott](https://community.influxdata.com/u/scott)\
**Post date:** [April 3, 2019, 4:51pm UTC](https://community.influxdata.com/t/rename-values-on-influxdb/9259/2 "2019-04-03T16:51:56Z")

</div>

@RoofAquaponics_DeLux What version of InfluxDB are you using?

---

<div class="post-metadata">

**Author:** ![RoofAquaponics\_DeLux](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/roofaquaponics_delux/32/2740_2.png) [@RoofAquaponics\_DeLux](https://community.influxdata.com/u/RoofAquaponics_DeLux)\
**Post date:** [April 3, 2019, 9:47pm UTC](https://community.influxdata.com/t/rename-values-on-influxdb/9259/3 "2019-04-03T21:47:17Z")

</div>

InfluxDB shell version: 1.7.4 is installed.
