Logstash using wrong version of installed plugin

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
(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.

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