Skip to content

mattiaongit/elasticize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Elasticize

Elasticize is a simple way to transfer data from MongoDB to Elasticsearch.

Setup

Use the config.json file to specify the source and destination of your data

{
	"MONGO_DATABASE": "source_mongo_db",
	"MONGO_COLLECTION": "source_mongo_collection",
	"ES_URL": "http://localhost:9200",
	"ES_INDEX": "destination_index",
	"ES_TYPE" : "destination_type"
}

Run

Once the configuration is done, just run:

python elasticize.py

Dependencies

Elasticize is written in Python. So, you need to install Python on your system if not already installed. Other few dependencies are needed as Requests, an http request python library to send request to ES and Pymongo to fetch data from a MongoDB database.

Here's a list of the dependecies needed:

About

Elasticize transport data from MongoDB to Elasticsearch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages