Want to modify tsm file then import into the influxdb v2.
Here is what I do:
Convert tsm file to hex, the change value of one of my tag value, then convert to tsm.
After that restore modified tsm into the influxdb v2, without any error data imported but there is no data on bucket!
After several workarounds find out a way:
Convert tsm to hex, modify fields and tag, finally convert to tsm again. And import to influxdb.
FYI: After several restore InfluxDB service restart continuously got this error:
InfluxDB API at http://localhost:8086/ready unavailable after
Remove bucket through cli fix issue.
@Indeed_1 thank you for sharing your solution!!!