[syslog-ng] syslog-ng Message Deliver Acknowledgment and Action

Balazs Scheidler bazsi77 at gmail.com
Thu Nov 7 10:55:14 CET 2013


It depends what failure modes you want to protect against.

There can be
* network connection breaks
* Syslog-ng daemon crashes (client, server)
* audit daemon crashes

Syslog-ng has most of the infrastructure to carry out (flow control), but
some pieces are missing. The PE team did work in this area, they created
RLTP for app. Level network acknowledgements that would protect against
network and syslogng crashes. Even in that case though the ack information
can only be propagated back to your audit app by speaking RLTP.

Maybe you would need a queueing stack like amqp or 0mq, those tend to
provide explicit acks, and there are brokerless solutions as well.
On Nov 6, 2013 6:15 PM, "Tamayo, Andres" <Andres.Tamayo at viasat.com> wrote:

>  Hello,
>
>
>
> I am new at using syslog-ng and I was hoping someone in the developers
> mailing list would be able to help me.
>
>
>
> I am trying to use a syslog-ng client daemon and a syslog-ng server daemon
> to implement an audit message system but I cannot find information that
> would help me configure the daemons for my particular scenario.
>
>
>
> Here is my scenario:
>
>
>
> I have a separate audit daemon that generates log messages that are
> written to an audit log file in syslog format.  I need the syslog-ng client
> to read the logs in the audit log file and send them to the syslog-ng
> server.  When the server has received the messages, I need some
> acknowledgment from the syslog-ng client, so my other audit daemon can
> remove the submitted log messages from the audit log file (preventing it
> from reaching maximum capacity).
>
>
>
> My scenario does not have to be setup exactly this way if there are better
> ways to achieve the same result.  Basically, I need to keep all logs that
> have not yet being sent to the syslog-ng server in an audit file.  When the
> messages are delivered to the syslog-ng server, I need to delete them from
> the audit file.
>
>
>
> Can someone tell me if I can achieve this results using syslog-ng
> daemons?  Is there a better way to implement my scenario.
>
>
>
> Thank you for your help in advance.
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20131107/02165d1f/attachment.htm 


More information about the syslog-ng mailing list