Hello everyone !
I am trying to create new index with those data in Elasticsearch
I have big data in json format I save it in a file
named
weather_to_json.json
{''error'':{''root_cause'':[{''type'':''parse_exception'',''reason'':''request body is required''}],''type'':''''parse_exception'',''reason'':''request body is required''}, ''status'',:400
I get that error if the json file doesn't exist in the directory where I run the curl command or if I've misspelled the filename, so you may want to verify that you're in the same directory and that the filename is correctly spelled.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.