influxdata / influxdata/influxdb

Possibility to convert exported TSM backup files to other formats like CSV or JSON

Open
#25,393 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

A newbee question:
I've searched in the issues and in the internet but couldn't find any hint. I've checked all InfluxDB CLI tools and available commands of them.

I've a use-case that I need to do analysis on backup TSM data, however, I couldn't find how to read them programatically. The best would be to read data using Python pandas library.

If it is not possible, I can develop a tool in GoLang to convert `.tsm` file to some CSV/JSON format. I'm looking for the general possibilities and some directions.

How I took backup: `influxd backup -portable influx_backup`
InfluxDB version: `1.7.8`

Contributor guide

Open the contributing guide

Research direction

Start with the `influxd backup -portable influx_backup` entry point and the stated InfluxDB 1.7.8 context. Compare the requested Python/pandas approach with the proposed Go conversion tool, but clarify the intended input, output formats, and acceptance criteria before implementation; the issue currently does not define what done looks like.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, pandas, python
Domain
cli, data, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.