how to connect mongo with elasticsearch using logs

2019-07-27 00:00发布

问题:

I want to connect mongodb with elasticsearch. I have used logstash-input-mongodb plugin, but this doesn't take my elasticsearch data updates. So when i update a document at mongodb it doesn't change at elasticsearch. I have searched through web but couldn't find a way to fix it? Is it a bug? Which other plugins or tools do you suggest me to use for making the connection?