# Logstash using wrong version of installed plugin

**URL:** <https://discuss.elastic.co/t/logstash-using-wrong-version-of-installed-plugin/203774>\
**Category:** Logstash\
**Created:** [October 16, 2019, 8:15am UTC](https://discuss.elastic.co/t/logstash-using-wrong-version-of-installed-plugin/203774 "2019-10-16T08:15:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pheebzer](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@Pheebzer](https://discuss.elastic.co/u/Pheebzer)\
**Post date:** [October 16, 2019, 8:15am UTC](https://discuss.elastic.co/t/logstash-using-wrong-version-of-installed-plugin/203774/1 "2019-10-16T08:15:11Z")

</div>

Hello.  
I have been trying to move data from DocumentDB \> Elasticsearch. I have multiple pipelines, and the Logstash is being ran in a docker container. All of these components are being hosted on AWS.

My problem is with Logstash input plugin `logstash-input-mongodb`  
([GitHub - phutchins/logstash-input-mongodb: MongoDB input plugin for Logstash](https://github.com/phutchins/logstash-input-mongodb))

I installed this plugin with the following command:

> /usr/share/logstash/bin/logstash-plugin install logstash-input-mongodb

and this is what i get when verifying the installed version

> $ /usr/share/logstash/bin/logstash-plugin list --verbose logstash-input-mongodb  
> logstash-input-mongodb (0.4.1)

However, this is what my logs tell me when i run Logstash:

> [INFO][logstash.inputs.mongodb] Using version 0.1.x input plugin 'mongodb'. This plugin isn't well supported by the community and likely has no maintainer.

I don't understand why Logstash keeps using some old version of the plugin, even though i shouldn't even have it installed/have the latest version.

I also couldn't find any configuration option to force Logstash to use a specific version of a plugin.

---

<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:** [November 13, 2019, 8:15am UTC](https://discuss.elastic.co/t/logstash-using-wrong-version-of-installed-plugin/203774/2 "2019-11-13T08:15:25Z")

</div>

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