Skip to content

Conversation

talien
Copy link
Contributor

@talien talien commented May 20, 2014

No description provided.

Viktor Tusa and others added 4 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
@algernon
Copy link
Contributor

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!

@bazsi
Copy link
Collaborator

bazsi commented May 22, 2014

In addition to driver id we can.also print the exact location of the problematic config through logexprnode

Viktor Tusa and others added 18 commits May 27, 2014 16:42
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 Author

talien commented May 27, 2014

Updated pull request. The only thing left is silently-drop-message, we need to discuss it.

@algernon algernon added this to the 3.5.5 milestone Jun 5, 2014
@algernon
Copy link
Contributor

Dropping this one, superseded by #143

@algernon algernon closed this Jun 23, 2014
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Jun 10, 2024
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Jun 11, 2024
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Signed-off-by: Hofi <hofione@gmail.com>
kovgeri01 pushed a commit to kovgeri01/syslog-ng that referenced this pull request Aug 13, 2024
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
kovgeri01 pushed a commit to kovgeri01/syslog-ng that referenced this pull request Aug 13, 2024
…de-encryption

s3: add server side encryption support
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants