SERGII ROLSKYI

Results 2 issues of SERGII ROLSKYI

Hi, If I do: `curl -o /tmp/data.txt - XGET 'http://localhost:9200/my-index/_search' -d '{"size":0,"query":{"bool":{"must":[{"query_string":{"analyze_wildcard":true,"query":"*"}},{"range":{"@timestamp":{"gte":1497538800000,"lte":1500213705347,"format":"epoch_millis"}}}],"must_not":[]}},"_source":{"excludes":[]},"aggs":{"2":{"date_histogram":{"field":"@timestamp","interval":"1h","time_zone":"Europe","min_doc_count":1}}}}'` I get /tmp/data.txt (data has json format) but if I do: `curl -o /tmp/data.csv -XGET "http://localhost:9200/my-index/_data?format=csv&source={"size":0,"query":{"bool":{"must":[{"query_string":{"analyze_wildcard":true,"query":"*"}},{"range":{"@timestamp":{"gte":1497538800000,"lte":1500213705347,"format":"epoch_millis"}}}],"must_not":[]}},"_source":{"excludes":[]},"aggs":{"2":{"date_histogram":{"field":"@timestamp","interval":"1h","time_zone":"Europe","min_doc_count":1}}}}"` I have...

question

**Hey, I need help. I try:** elasticsearch-reindex -f http://localhost:9200/sms -t http://localhost:9200/sms-new **And I have error:** ``` Starting reindex in 1 shards. /usr/lib/node_modules/elasticsearch-reindex/node_modules/elasticsearch/src/lib/transport.js:60 throw new TypeError('Invalid hosts config. Expected a URL,...