-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logstash 2.4 to MongoDB 3.4 #35
Comments
I am encountering a similar problem. Not exactly the same situation, but the MongoDB plugin is not working to write data from logstash to MongoDB, and I believe it is due to version incompatibility. Is there any way to upgrade the driver that is bundled with the plugin? |
Oh... I thought that something wrong with my setup, config or data... same issue! |
any progress on this? error is something like: |
For me is logstash_timestamp.rb is not compatible with new bson gem. |
I'm facing the same error here, working with logstash 6.2.4, logstash-output-mongodb 3.1.4 connecting against MongoDB Atlas (3.4) |
It seems the mongodb driver is out of date (current version as of this writing is 2.6.2). MongoDB Atlas requires the driver to be 2.4 at least, but it's currently 2.0.6. |
relates to #42 to update driver. |
I'm currently using Logstash 2.4 on a windows server. I'm attempting to write log messages to MongoDB 3.4. Logstash sends several messages then stops with a 'Failed to send event to MongoDB' error message. Logstash is using the mongo-2.0.6. According to https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/#ruby-driver-compatibility I need to use mongo-2.4.0. How do I upgrade the driver? I'm hoping the latest version of the mongo driver will fix my issue.
The text was updated successfully, but these errors were encountered: