# Mongodb-input-logstash problem

**URL:** <https://discuss.elastic.co/t/mongodb-input-logstash-problem/181874>\
**Category:** Logstash\
**Created:** [May 20, 2019, 4:41pm UTC](https://discuss.elastic.co/t/mongodb-input-logstash-problem/181874 "2019-05-20T16:41:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aymen\_Ben\_Moussa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aymen_ben_moussa/32/44513_2.png) [@Aymen\_Ben\_Moussa](https://discuss.elastic.co/u/Aymen_Ben_Moussa)\
**Post date:** [May 20, 2019, 4:41pm UTC](https://discuss.elastic.co/t/mongodb-input-logstash-problem/181874/1 "2019-05-20T16:41:44Z")

</div>

The problem with the plugin is that it does not see updated documents, for example i have a document that contains the field "status" , at this point i have my logstash pipeline already started and if the document status field gets updated that was previously indexed, nothing will happend in es , in other words only inserts with new document\_id gets to es but not updates within already indexed documents  
are they alternatives to mongo-input-logstash plugin,  
ps: i still want to use logstash , is pushing data to kafka then logstash them to elasticsearch could be the answer ?

---

<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:** [June 17, 2019, 4:41pm UTC](https://discuss.elastic.co/t/mongodb-input-logstash-problem/181874/2 "2019-06-17T16:41:50Z")

</div>

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