@jackzampolin How would I export the data in a format that I can “sed” and then import again?
Have tried many different ways but always seem to get invalid keys when I try to import it.
Export: influx -database "telegraf" -format column -execute "select * from cpu where host='myhostname'" > backupfile
@hasselrot If you are trying to do it that way I’ve had the best luck with -format csv. Some quick vim or atom work should get you to something that you can import with the influx -import
command.
jackzampolin, do you have an example of how to do this? For example, I changed a server name from “vader” to “vader.domain.com” about a month ago. Now I need to merge the data from the last six months for “vader” and put this into the series for “vader.domain.com”.