Open nerdstein opened 6 years ago
Thank you all for putting together this great tool. I was thrilled to find this.
I am currently getting an error as follows:
{"error":"Content-Type header [] is not supported","status":406}
According to this URL, https://github.com/taskrabbit/elasticsearch-dump/issues/350 , additional headers need to be passed for ElasticSearch 6.x. As follows:
-headers='{"Content-Type": "application/json"}
Could this be a new configuration added?
This is resolved by updating the elasticsearch requirement to the latest version
Yeah, I will roll in some es version detection and insert the header.
Thank you all for putting together this great tool. I was thrilled to find this.
I am currently getting an error as follows:
According to this URL, https://github.com/taskrabbit/elasticsearch-dump/issues/350 , additional headers need to be passed for ElasticSearch 6.x. As follows:
Could this be a new configuration added?