# Updates not flowing from MongoDB to ES using Logstash

**URL:** <https://discuss.elastic.co/t/updates-not-flowing-from-mongodb-to-es-using-logstash/197399>\
**Category:** Logstash\
**Created:** [August 29, 2019, 6:30pm UTC](https://discuss.elastic.co/t/updates-not-flowing-from-mongodb-to-es-using-logstash/197399 "2019-08-29T18:30:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gagz2008shop](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@gagz2008shop](https://discuss.elastic.co/u/gagz2008shop)\
**Post date:** [August 29, 2019, 6:30pm UTC](https://discuss.elastic.co/t/updates-not-flowing-from-mongodb-to-es-using-logstash/197399/1 "2019-08-29T18:30:56Z")

</div>

Hello Everyone,

Any updates in MongoDB are not flowing to ElasticSearch using Logstash. I am using latest versions of all the applications.  
Following is the logstash config file for reference. Any help is much appreciated.

input {  
mongodb {  
uri =\> 'mongodb://localhost:27017/test'  
placeholder\_db\_dir =\> '/Users/gagandeepsingh/Documents/logstashtemp/logstash'  
placeholder\_db\_name =\> 'OMS\_sqlite.db'  
collection =\> 'order'  
parse\_method =\> 'simple'  
}  
}

filter {  
mutate {  
remove\_field =\> ['\_id']  
}  
}

output {  
elasticsearch {  
hosts =\> ['[http://localhost:9202](http://localhost:9202)']  
index =\> 'order'  
}  
}

---

<div class="post-metadata">

**Author:** ![gagz2008shop](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@gagz2008shop](https://discuss.elastic.co/u/gagz2008shop)\
**Post date:** [September 3, 2019, 6:05pm UTC](https://discuss.elastic.co/t/updates-not-flowing-from-mongodb-to-es-using-logstash/197399/2 "2019-09-03T18:05:39Z")

</div>

Any response is much appreciated.

---

<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:** [October 1, 2019, 6:05pm UTC](https://discuss.elastic.co/t/updates-not-flowing-from-mongodb-to-es-using-logstash/197399/3 "2019-10-01T18:05:43Z")

</div>

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