Use api put data to overwrite

Hi .
I want to monitor filesystem on server. And collect data format write to file. total 20 row .

Filesystem,Host=Host123 Device="/dev",Mount_point="/dev",Percent_use=“0” 1619160999000000000

And insert data to influxdb with API.
curl -s -i -XPOST ‘http://serverinfluxdb:8086/write?db=mydb’ --header ‘Authorization: Token admin:admin’ --data-binary @infodata.txt

But i check in database “mydb” use measure “Filesystem” by command select * from Filesystem;

It show output 1 row .

what happen.

Please help.
Thank you.

Hello @Atech,
Does your data have different timestamps? Are you trying to write data to 2.x or 1.x? It looks like you’re trying to write data to 1.x with the 2.0 api. If you’re trying to write data to 1.x, why not just use the 1.x api?

curl -i -XPOST '' --data-binary @cpu_data.txt