Modify tsm files

Hi
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!

Any idea?
Thanks

After several workarounds find out a way:
Convert tsm to hex, modify fields and tag, finally convert to tsm again. And import to influxdb.

Tsm>hex>tsm

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!!!

1 Like