Error with curl

Hi ,

that dataset is 4 years old and contains json formatted data :slight_smile: ,
do you want to upload json formatted data ?

Writing points from a file

Write points from a file by passing @filename to curl . 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 the mydb database with:
curl -i -XPOST 'http://localhost:8086/write?db=mydb' --data-binary @cpu_data.txt