Error status : 400

When trying to import sample data into elasticsearch, getting the following error:
"type" : "action_request_validation_exception",
"reason" : "Validation Failed: 1: type is missing;2: type is missing;3: type is missing;"

Below shows the contents of the json file:
{"Fail":0,"SN":0,"WeekNumber":1,"User":"builder","Failure Category":"PASS"}
{"Fail":0,"SN":1,"WeekNumber":1,"User":"builder","Failure Category":"PASS"}
{"Fail":0,"SN":2,"WeekNumber":1,"User": "builder","Failure Category":"PASS"}

Any help appreciated!

the json file is missing type.... update your mapping..

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.