# How to connect mongo with elasticsearch using logstash?

**URL:** <https://discuss.elastic.co/t/how-to-connect-mongo-with-elasticsearch-using-logstash/125352>\
**Category:** Logstash\
**Created:** [March 23, 2018, 10:47am UTC](https://discuss.elastic.co/t/how-to-connect-mongo-with-elasticsearch-using-logstash/125352 "2018-03-23T10:47:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EditAxha](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@EditAxha](https://discuss.elastic.co/u/EditAxha)\
**Post date:** [March 23, 2018, 10:47am UTC](https://discuss.elastic.co/t/how-to-connect-mongo-with-elasticsearch-using-logstash/125352/1 "2018-03-23T10:47:46Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 20, 2018, 10:48am UTC](https://discuss.elastic.co/t/how-to-connect-mongo-with-elasticsearch-using-logstash/125352/2 "2018-04-20T10:48:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
