Import data to Elasticsearch from MongoDB or CSV

Sometimes you have to import data to Elasticsearch but you don’t want to use logstash because you have to create the configuration file just for a simple data records or because you have your data in mongoexport format. Maybe you want to insert some CSV files from a node module in Elasticsearch

Whatever the case you can do it with elastic-import, a nodejs module but also a CLI tool to import data to Elasticsearch

Import data to Elasticsearch from MongoDB

If you need to import your Mongodb data to Elasticsearch you can export them with mongoexport and then import with elastic-import as easy as this