Logstash-output-mongodb issues with DocumentDB


Has anyone tried accessing DocumentDB (essentially Mongo under hood) via logstash-ouput-mongodb.

In logstash 7.5.1 I am getting the following error:

logstash.outputs.mongodb ][main] MONGODB | Unsupported URI option 'sslPEMKeyFile' on URI 'mongodb://url:27017/?ssl=true&sslPEMKeyFile=~/Downloads/rds-combined-ca-bundle.pem'. It will be ignored.

I've tried all different options including those listed: https://stackoverflow.com/questions/37431697/mongodb-ssl-pem-file-in-connection-string and no success.

Any ideas?

After reviewing code I was able to understand why and see this is documented here: https://github.com/logstash-plugins/logstash-output-mongodb/issues/50.

The CA Cert isn't supported but the final response shows a solution.

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