-
Notifications
You must be signed in to change notification settings - Fork 490
mongodb patches porting to ose #127
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
Conversation
… not a runtime one. Signed-off-by: Viktor Tusa <tusa@balabit.hu>
…nes. Stored messages are message which are stored in disk or memory buffer.
MongoDB server does append an _id field automatically if none present. If the incoming message already have an _id field, we pass it along to the server. References: v1 TK-44852
I like most of the changes, but have had a few questions, which I posted either inline, or attached to the appropriate commit. I can patch up most of the things after merging, but I'd love to have your feedback on the few little issues I found. Thanks! |
In addition to driver id we can.also print the exact location of the problematic config through logexprnode |
…re_transformation
Signed-off-by: Viktor Tusa <tusavik@gmail.com>
MongoDB dest driver tries to insert into the database three times before dropping the message. Signed-off-by: Viktor Tusa <tusavik@gmail.com>
evt_tag_value_pairs works exactly like a value_pairs_foreach, which generates a string to an EVTTAG. It can be safely used from msg_* macros without having to know if we are in debug mode or not.
… mongodb. Because it is nicer, and can be used in msg_error, too. Also log the message we try to insert into mongodb. Signed-off-by: Viktor Tusa <tusavik@gmail.com>
…ion failed. If the connections fails, we shouldn't consume a message. If flow-control is on, the queue will be held back, if it is off, the message will be dropped if the queue is full.
…fails. If value_pairs_walk fails, that means that a typecast has been failed. So the only sane thing we can do is to log this problematic message and drop it. We return with TRUE here because the destination should not go to sleep.
Via the retries() option. Signed-off-by: Viktor Tusa <tusavik@gmail.com>
Throttle is not working and not supported in MongoDB destination, so we will show a warning and set throttle back to zero.
Signed-off-by: Viktor Tusa <tusa@balabit.hu>
Signed-off-by: Viktor Tusa <tusa@balabit.hu>
…ient Signed-off-by: Budai Laszlo <lbudai@balabit.hu> Signed-off-by: Viktor Tusa <tusavik@gmail.com>
Signed-off-by: Budai Laszlo <lbudai@balabit.hu>
Signed-off-by: Budai Laszlo <lbudai@balabit.hu>
Signed-off-by: Budai Laszlo <lbudai@balabit.hu>
Updated pull request. The only thing left is silently-drop-message, we need to discuss it. |
Dropping this one, superseded by #143 |
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com> Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
…de-encryption s3: add server side encryption support
news: add entry for syslog-ng#127
No description provided.