influxdb data/table be downloaded as csv file?

surya rahul picture surya rahul · Jun 9, 2018 · Viewed 14.4k times · Source

Influxdb is a time series database which stores data and its attributes in the tables, commonly known as measurements.

Can the tables in databases of influxdb be fetched to local system in csv format?

Answer

surya rahul picture surya rahul · Jun 14, 2018

In CLI following command can be used to download tables on the local system:

influx -database 'database_name' -execute 'SELECT * FROM table_name' -format csv > test.csv