I recently upgraded to Elasticsearch version 6.1.1 and now I can\'t bulk index documents from a JSON file. When I do it inline, it works fine. Here are the contents of the d
As the document says: use the --data-binary flag instead of plain -d
--data-binary
-d
-d doesn’t preserve newlines and doesn't format the json.
I faced this problem because of JSON formatting.