Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

influxdb save time range to csv

influx -database 'database_name' -execute "SELECT * FROM table_name WHERE time >'2021-01-01' and time <'2022-01-01'" -format csv > outputData.csv
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #influxdb #save #time #range #csv
ADD COMMENT
Topic
Name
5+4 =