root@tc-doris-fe-1:~# vim data.csv
root@tc-doris-fe-1:~# curl --location-trusted -u root -T ./data.csv -H "label:label_example" -H "column_separator:," -H "columns:id,name" http://10.30.81.5:8030/api/ops_test/test_error_log/_stream_load
Enter host password for user 'root':
{
"TxnId": 451170,
"Label": "label_example",
"TwoPhaseCommit": "false",
"Status": "Success",
"Message": "OK",
"NumberTotalRows": 3,
"NumberLoadedRows": 3,
"NumberFilteredRows": 0,
"NumberUnselectedRows": 0,
"LoadBytes": 30,
"LoadTimeMs": 51,
"BeginTxnTimeMs": 11,
"StreamLoadPutTimeMs": 13,
"ReadDataTimeMs": 0,
"WriteDataTimeMs": 8,
"CommitAndPublishTimeMs": 17
}
root@tc-doris-fe-1:~#
标签:load,stream,label,root,tc,doris
From: https://www.cnblogs.com/zzzwqh/p/17916208.html