Hi,
I am trying to send bulk data using curl command but I am getting an error when this is being tried:
curl -XPUT 'http://localhost:9200/nav/een/_bulk' --data-binary '{ "index" : { "_id" : "6" } } \n {"C":"E"} \n { "index" : { "_id" : "7" } } \n {"A":"V"} \n’
I do not want to use a json file but want to send the bulk data as mentioned above.
Error:
{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: no requests added;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: no requests added;"},"status":400}
Regards
Naveen S