Simple application to copy data between two instances of Elasticsearch
-
Clone it to your project folder
-
Run the command
npm install
- Start copying (example)
node app.js --hf http://hostfrom --if IndexFrom --tf TypeFrom --ht http://hostto --it IndexTo --tt TypeTo -s 50
- hf: host from
- if: index from
- tf: type from
- ht: host to
- it: index to
- tt: type to
- s: amount of data per bulk insert (default: 50)
Modify the file worker/connection.js to pass user name and password if necessary
Contact: [email protected]
Cheers!