There is a new version of the zeromq rsyslog plugin that is currently
included in the rsyslog source itself.  It's on the head of the master
branch - I don't know if it's been included in any 6.x beta releases yet.
I highly recommend it over the code you linked, as there are a) a lot of
improvements over the first attempt we made and b) it's included in the
rsyslog source itself as an official plugin now.  The plugins are "omzmq3"
and "imzmq3".

The older plugins you linked to do not work with zeromq 3, do not work with
the new rsyslog 6 configuration system, and I know there are bugs in the
input module.

Brian

On Mon, Aug 27, 2012 at 8:32 AM, Evgeny Turnaev <[email protected]> wrote:

> Hello.
>   I have an intention to use zmq system as a message transport layer
> for daemons that use syslog logging.
>   The massage must also be modified before passing into zmq.
>   Simplified flow:
>   * 3rd parity old daemon calls syslog("123 Foo Bar")
>   * rsyslog catches message parse it and produces json message that
> get passed to
>   * zmq output system
>
> I think i have 2 choices:
>   1) Use syslog daemon and write zmq plugin
>       I googled a little and found
> https://github.com/aggregateknowledge/rsyslog-zeromq
>       Is it going to be included in rsyslog as official plugin?
>       Install how-to of this plugin mentioned patching rsyslog and
> that worry me a little.
>       Also in this scenario: how do i make fast message modification?
> is it possible to do in output module code?
>
>    2) Write my own pseudo-syslog daemon that will receive messages in
> syslog format and send changed messages into zmq system.
>        As i know old legacy format is pretty simple but i dont want to
> write my own
>        syslog format parser conforming to all rfc and broken reality.
>        Where do i look in rsyslog sources for syslog message parser?
> Is it possible by rsyslog licence to use part of rsyslog code? How do
> i integrate with my own code? Maybe there are others open source
> syslog message parsers?
>
>
> Any suggestions?
>
> --
> --------------------------------------------
> Турнаев Евгений Викторович
> +7 906 875 09 43
> --------------------------------------------
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards

Reply via email to