Hi ,
that dataset is 4 years old and contains json formatted data ,
do you want to upload json formatted data ?
Writing points from a file
Write points from a file by passing
@filename
tocurl
. The data in the file should follow InfluxDB’s line protocol syntax.Example of a properly-formatted file (
cpu_data.txt
):cpu_load_short,host=server02 value=0.67 cpu_load_short,host=server02,region=us-west value=0.55 1422568543702900257 cpu_load_short,direction=in,host=server01,region=us-west value=2.0 1422568543702900257
Write the data in
cpu_data.txt
to themydb
database with:
curl -i -XPOST 'http://localhost:8086/write?db=mydb' --data-binary @cpu_data.txt