Skip to content

Conversation

lbudai
Copy link
Collaborator

@lbudai lbudai commented Jun 23, 2014

No description provided.

Viktor Tusa and others added 20 commits May 20, 2014 14:45
… 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
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>
@talien
Copy link
Contributor

talien commented Jun 23, 2014

Hi!

The "WIP: prepare_config method" commit is a cuckoo's egg, it isn't needed here.

@algernon
Copy link
Contributor

algernon commented Jul 2, 2014

Boo. This error is on my part, I broke symbol versioning by the looks of it.

@algernon
Copy link
Contributor

algernon commented Jul 2, 2014

Fixed on libmongo-client master. Can you redo the last patch that upgrades not to 0.1.8, but to master? While there, you can drop 50c5ab9, or replace that with the update to LMC master, so we don't have it twice in the history.

talien and others added 3 commits July 2, 2014 15:35
Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
 ...otherwise... https://www.youtube.com/watch?v=qfResyFrqlM

 [ sorry :-) ]

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
algernon added a commit that referenced this pull request Jul 2, 2014
@algernon algernon merged commit 5ff025e into syslog-ng:master Jul 2, 2014
kovgeri01 pushed a commit to kovgeri01/syslog-ng that referenced this pull request Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants