Skip to content

Pet project to play with monstache (mongo -> elastic)

Notifications You must be signed in to change notification settings

adamatti/learn-monstache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pet project to play with monstache

First run

docker compose up -d

# insert on mongo
db.users.insertOne({name: "Marcelo"})

# Check on elastic
curl "http://localhost:9200/app.users/_search?pretty=true"

Second run - transformation

docker compose up -d

# insert on mongo
db.users.insertOne({name: "Marcelo Password", password: "123"})

# Check on elastic
curl "http://localhost:9200/app.users/_search?pretty=true"

References