I am firing command as fillow in kibana as follow
POST /test/test/1 -d @zips.json
Output as follow
{ "error": "Content-Type header [text/plain] is not supported", "status": 406 }
Can anyone help me in this please. I am having my file in local machine.
You cannot post files to Elasticsearch via Console, you need to use curl.
SO it should use with kibana or from browser???
You need to use curl, or similar. Neither the browser or Kibana can upload files like that.
© 2020. All Rights Reserved - Elasticsearch
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.