influxdb/cmd/chronograf-migrator
George 2636e976b9
chore(query): use dbrp v2 service in flux influx.v1 dependencies (#19108)
* chore(query): use dbrp v2 service in flux influx.v1 dependencies

* chore: update transpiler to use dbrp mapping service v2
2020-08-12 11:08:25 +01:00
..
README.md feat: add tool to migrate 1.x chronograf dashboards and variables 2020-01-10 09:05:19 -08:00
dashboard.go chore(query): use dbrp v2 service in flux influx.v1 dependencies (#19108) 2020-08-12 11:08:25 +01:00
main.go chore(pkger): finalize adoption of templates naming convention 2020-06-30 16:33:45 -07:00

README.md

Chronograf Migrator

This tool is used to migrate 1.x Chronograf Dashboards and Template Variables to their 2.x equivalents using pkger packages. The tool expects the user to have the 1.x Chronograf database.

chronograf-migrator -h
Usage of chronograf-migrator:
  -db string
    	path to the chronograf database
  -output string
    	path to the output yaml file (default "dashboards.yml")

Example Usage

$ chronograf-migrator -db chronograf-v1.db -output dashboards.yml
$ INFLUX_TOKEN=<token> influx pkg -o <org-name> -f dashboards.yml