I'm trying to bulk upload json to elasticsearch with the below data.
I searched in the forums and found that last line should be newline even if I did that i'm getting the same error.
This is the index i'm using
{"index":{"_index":"momogmail","_type":"email","_id":"1"}}
{"From":"Somesampletext","To":"abc","CC":"cctext","BCC":"bcctext"}
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.