Mongodb output plugin connection error

Hi there,

i'm tryng to connect on MongoDB Atlas cluster using logstash output.
I reach so many errors like this:
[WARN ] 2021-05-14 17:56:55.616 [Ruby-0-Thread-12: :1] mongodb - MONGODB | Error running ismaster on cluster0-shard-xx-xx.1xx0a.mongodb.net:27017: ArgumentError: wrong number of arguments (given 2, expected 1)

I've took the connection string from Atlas "console" for Ruby driver.
Do you have tried this output plugin before in order to connect Logstash to Atlas?
Any Advice?

Kind Regards

Roberto

There are three open issues for this, and an unmerged PR that claims to fix it.

Grazie Badger,

i've tried to change the 3 files described here Fix "wrong number of arguments" error when shipping events to MongoDB (fixes #60, #64, #65) by rmmorrison · Pull Request #66 · logstash-plugins/logstash-output-mongodb · GitHub but nothing change .

Any other advice?

KR

Roberto

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