Discussion:
[influxdb] Rename Tag values in influxdb
Ashish Rathore
2016-07-28 14:22:52 UTC
Permalink
Actually previously i was using some another tag value and now its been
modified.

What should be best strategy to rename/update tag values in influxdb.
--
Remember to include the InfluxDB version number with all issue reports
---
You received this message because you are subscribed to the Google Groups "InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/0aa201ca-7cd4-411b-b010-265e3d8eb9ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ashish Rathore
2016-07-29 10:43:43 UTC
Permalink
If i want to delete old tag values can i use drop series with that
particular tag values as it removes it from index too.



*Ashish Rathore*
*B.Tech Final year,*
*MNNIT ALLAHABAD*
*ALLAHABAD ,INDIA*
There is currently no way to rename a tag except to rewrite the data with
the new tag value. https://github.com/influxdata/influxdb/issues/4157 is
the feature request to enable this, but it is not a priority for the 1.0
release. I hope that it will be part of 1.1 or 1.2. We are also working on
some bulk export/import tools so that you could read and rewrite the data
in an automated way.
On Thu, Jul 28, 2016 at 8:22 AM, Ashish Rathore <
Post by Ashish Rathore
Actually previously i was using some another tag value and now its been
modified.
What should be best strategy to rename/update tag values in influxdb.
--
Remember to include the InfluxDB version number with all issue reports
---
You received this message because you are subscribed to the Google Groups
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit
https://groups.google.com/d/msgid/influxdb/0aa201ca-7cd4-411b-b010-265e3d8eb9ae%40googlegroups.com
<https://groups.google.com/d/msgid/influxdb/0aa201ca-7cd4-411b-b010-265e3d8eb9ae%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Sean Beckett
Director of Support and Professional Services
InfluxDB
--
Remember to include the InfluxDB version number with all issue reports
---
You received this message because you are subscribed to a topic in the
Google Groups "InfluxDB" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/influxdb/XiDJeZuH-3M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit
https://groups.google.com/d/msgid/influxdb/CALGqCvPqyD4SWJNpxPPnCtweLEuZpr6UnbFwrFgZ4nQ_akshYw%40mail.gmail.com
<https://groups.google.com/d/msgid/influxdb/CALGqCvPqyD4SWJNpxPPnCtweLEuZpr6UnbFwrFgZ4nQ_akshYw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Remember to include the InfluxDB version number with all issue reports
---
You received this message because you are subscribed to the Google Groups "InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CAPm_teEtQHWJ37ma6mW%3DMs1V%3DxXbPUx%3Dvz%2BcGzzf8hUzyQEOVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
d***@gmail.com
2018-01-03 10:08:08 UTC
Permalink
As Sean said in August 2016, there is (still) no way to change the value of a tag.

You can, however, write a client script to do that - see https://stackoverflow.com/questions/41990346/change-tag-value-in-influxdb/48075134#48075134
Yes, DROP SERIES or DELETE SERIES will remove the tags from the index as well.
If i want to delete old tag values can i use drop series with that particular tag values as it removes it from index too. 
There is currently no way to rename a tag except to rewrite the data with the new tag value. https://github.com/influxdata/influxdb/issues/4157 is the feature request to enable this, but it is not a priority for the 1.0 release. I hope that it will be part of 1.1 or 1.2. We are also working on some bulk export/import tools so that you could read and rewrite the data in an automated way.
Actually previously i was using some another tag value and now its been modified. 
What should be best strategy to rename/update  tag values  in influxdb.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/d61da310-b5de-4e41-932a-85c998c4352a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...