I am trying to use mongo connector to import the data from mongo db to elastic search. I have followed the instructions as given in the link:
https://github.com/10gen-labs/mongo-connector/wiki/Usage-with-ElasticSearch
mongo db
: 2.4.12
connector version:2.0.3
elastic search version: 1.5.2
We are having issue where the data is not being imported from mongodb to elastic search.
Queries:
What is the best way to integrate mongodb with elastic search and synchronize real time data between them in production
How to setup the synchronization-steps
How to create one time indexes.
You can use mongo-db-river plugin to sync the data from mongoDB to elasticsearchthe following refernce link will give you the more detail about the river plugin.
MongoDB River Plugin
Reference
if you need more help on this please ask.
I think you can use mongo connector, what your question are answered:
http://blog.mongodb.org/post/29127828146/introducing-mongo-connector
https://www.linkedin.com/pulse/5-way-sync-data-from-mongodb-es-kai-hao
just like:
[root#5b9dbaaa1 bin]# mongo-connector -m 10.18.15.99:27017 -t 10.18.15.11:9200 -d elastic2_doc_manager
Logging to mongo-connector.log.
Related
want to connect MongoDB with Laravel-vapor but not find proper solution how to connect MongoDB with Laravel-vapor.
I'm using MongoDB and neo4j and syncing data with the mongo connector and neo4j doc manager. I followed the exact same steps mentioned in the documentation of the neo4j but still, when I insert data into mongo it is not getting updated to neo4j. can anyone please mention the proper steps for making the DBS in sync
I am using iron router and unfortunately every time i cd into a directory generated by iron cli,i am notified i am not in a meteor directory.
So i have tried iron mongo and opens
> meteor mongo
MongoDB shell version: 2.6.7
connecting to: 127.0.0.1:3001/meteor
but has been this way for the last five minutes. Is there an alternative way to access the mongodb that comes with meteor or what should be done incase you are using iron router?.
In my case,i just want to see how many collections i have like
show collections
I think is best way for you it is use some Admin UI. Check "mongodb admin ui" in google for variants.
For my part I can recommend:
Robomongo
Its is really perfect mongo manager. Native and cross-platform MongoDB manager
Whatever platform you use today — Robomongo is available for you. Distributed as a native application, fast and snappy Robomongo uses very little of your machine resources.
But if you find some critical for you bugs, try another perfect tool
MongoVUE
MongoVUE is an innovative MongoDB desktop application for Windows OS that gives you an elegant and highly usable GUI interface to work with MongoDB. Now there is one less worry in managing your web-scale data.
Grab the local mongo connection string first then connect as follows
God#God-HP-EliteBook-2540p:~/crud$ iron mongo
> meteor mongo
MongoDB shell version: 2.6.7
connecting to: 127.0.0.1:3001/meteor
^C
God#God-HP-EliteBook-2540p:~/crud$ mongo mongodb://127.0.0.1:3001/meteor
Feed commands
God#God-HP-EliteBook-2540p:~/crud$ mongo mongodb://127.0.0.1:3001/meteor
MongoDB shell version: 3.2.4
connecting to: mongodb://127.0.0.1:3001/meteor
meteor:PRIMARY> show collections
Cannot use 'commands' readMode, degrading to 'legacy' mode
crud
meteor_accounts_loginServiceConfiguration
roles
system.indexes
users
meteor:PRIMARY> show dbs
admin (empty)
local 0.063GB
meteor 0.031GB
meteor:PRIMARY>
the problem is that logstash 2.2.0 are not compatible with the plugin logstash-input-mongodb and don't find other way to transfer the data.
There are a tool like import-handler of solr?
We use Mongo-Connector to transfer data from mongo to elastic: https://github.com/mongodb-labs/mongo-connector
I have started looking at Meteor and tried out some examples, but I'm puzzled by something: I have installed Meteor and not MongoDB on my machine, but Meteor seems to create its own instance of MongoDB.
How does this work?
Am I able to develop a separate application that can also perform CRUD operations on this database that Meteor is spinning up?
Meteor is shipped with a MongoDB installation
I think you can. The meteor mongo command gives the MongoDB URL to the database Meteor spins up.
meteor command will start its own instance of MongoDB.
You can then use meteor mongo to connect to the MongoDB database, which is usually running on the application's port+1, for example, app:3000 -> mongodb#:3001. So you could use any MongoDB tool to connect (for example, robomongo).
$ meteor mongo
MongoDB shell version: 2.4.9
connecting to: 127.0.0.1:3001/meteor