Replies: 2 comments
-
OK. After a bit more testing I have to turn this into a bug report. It seems that logging to MongoDB works with the version string set to 4.1 as long as all name-value pairs are strings. As soon as there is any kind of type information, the above error message appears, and no more logs are saved to MongoDB. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fix available in syslog-ng 4.2.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I had some distant memories that the MongoDB destination driver also received type support. Now I tried to update a syslog-ng 3.37 config to 4.1 and when trying to push logs to MongoDB, I receive the error message below. I checked the release notes and found that MongoDB is not listed there, just the SQL destination. Can I use MongoDB as an example where type support causes problem? Is there a simple way to store values from JSON to MongoDB? My first thougt was setting the type to string, but then logs cannot be sent to other destinations with proper type support.
Beta Was this translation helpful? Give feedback.
All reactions