ES数据跨集群迁移Elasticsearch-migration
下载Elasticsearch-migration
网址
https://github.com/medcl/esm-abandoned/releases
资源
https://download.csdn.net/download/lengyer/13985454
解压
tar -zxvf linux64.tar.gz
运行
bin/linux64/esm -s http://需要迁移的ES(IP地址):9200 -d http://迁移到的ES(IP地址):9200 -x index索引 -w=5 -b=10 -c 10000
-w 表示线程数的多少
-b 表示一次bulk请求并查询数据的大小,单位MB默认 5M
-c 一次scroll请求数量