With multi-dimensional model as the core, let the factory digital transformation and upgrading “within reach”>>>
curl -H 'Content-Type: application/x-ndjson' -s -XPOST 10.0.3.73:9200/yyzj2019-04/trans/_bulk?pretty --data-binary @../test_6000.txt
Error report
1 {
2 "error" : {
3 "root_cause" : [ {
4 "type" : "parse_exception",
5 "reason" : "Failed to derive xcontent"
6 } ],
7 "type" : "parse_exception",
8 "reason" : "Failed to derive xcontent"
9 },
10 "status" : 400
11 }
Possible causes:
1. Carefully check the IP, port and the file name path after @ in the command
2. Check the encoding format of data file TXT, use UTF-8
3。。。
Follow up supplement