Mongo To Elastic Save

Elasticsearch transfer tool for MongoDB database

Project README

mongo-to-elastic

Elasticsearch transfer tool for MongoDB database. It is safer because every transaction is kept in a promise queue.

Install

npm install mongo-to-elastic -g

All collections are transferred unless the collection is defined. To define more than one collection;

mongo-to-elastic --db app -c user -c post

Usage

Usage: mongo-to-elastic [options]

Options:
  --mongo-host, --mh    MongoDB host        (default localhost)
  --mongo-port, --mp    MongoDB port        (default 27017)
  --database, --db      MongoDB database      
  --collection, --c      MongoDB collection
  --elastic-host, --eh  ElasticSearch host  (default localhost)
  --elastic-port, --ep  ElasticSearch port  (default 9200)
  --concurrency, --con  Promise concurrency (default 250)
  --help                Show help          
Open Source Agenda is not affiliated with "Mongo To Elastic" Project. README Source: indatawetrust/mongo-to-elastic
Stars
29
Open Issues
0
Last Commit
6 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating