[rabbitmq-discuss] Syslog
Brett Cameron
brett.r.cameron at gmail.com
Tue Mar 12 14:47:21 GMT 2013
Could you write a little client that leverages the amq.rabbitmq.log
exchange? Log file entries are published to this exchange, using the
severity level of log messages as the routing key (severity levels are
“info”, “warning”, and “error”), so if you bind a queue or three to this
exchange you can have clients consume the log messages. A client could then
call syslog() to poke stuff into syslog, etc.
Although I suppose this still equates to having to deploy another moving
part, albeit a small one.
On Tue, Mar 12, 2013 at 11:40 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
> On Monday, 11 March 2013 at 23:14, Dave Lambley wrote:
>
> On 11 March 2013 18:04, Ben Hood <0x6e6562 at gmail.com> wrote:
>
> I was wondering whether there is well defined way of forwarding all Rabbit
> logs to syslog.
>
>
> We're using a bit of Perl to forward our messages into logstash and
> eventually Kibana,
>
>
> http://search.cpan.org/dist/Message-Passing-Syslog/lib/Message/Passing/Syslog.pm
>
> http://search.cpan.org/dist/Message-Passing-AMQP/lib/Message/Passing/AMQP.pm
>
> We tried the logstash agent, but found it too memory hungry to run on
> all our hosts.
>
>
> Hi Jason and Dave,
>
> Thanks for the pointers to log stash, imfile and message passing - they
> are certainly all good options. I guess there is currently no out of the
> box way to get Rabbit to send stuff directly to syslog without having to
> deploy a separate moving part.
>
> Cheers,
>
> Ben
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130313/9abc03a7/attachment.htm>
More information about the rabbitmq-discuss
mailing list