Syslog to RabbitMQ

295 views
Skip to first unread message

U MK

unread,
Jan 29, 2020, 5:15:16 AM1/29/20
to rabbitmq-users
Hi,

Currently syslogs are configured to forward to 514 port using UDP, just want to know!

Is it possible to forward syslog to RabbitMQ server ?

thanks,
Mohan


iwe...@mail.de

unread,
Jan 29, 2020, 7:05:34 AM1/29/20
to rabbitm...@googlegroups.com
You need to customize a plugin for syslog to publish messages to rabbitmq. For this purpose I may suggest taking more attention on Kafka, which is a real-time stream system and supports log replay.

Regards
Wesley Peng

> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/3598067d-5320-4058-9ebc-a4060d783601%40googlegroups.com.
>

Michael Klishin

unread,
Jan 29, 2020, 10:40:41 AM1/29/20
to rabbitmq-users
I'd take a look at the Logstash set of plugins and tools. They might make something like this a matter of combining a few building blocks they already provide.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/3598067d-5320-4058-9ebc-a4060d783601%40googlegroups.com.


--
MK

Staff Software Engineer, Pivotal/RabbitMQ

U MK

unread,
Jan 30, 2020, 2:56:49 AM1/30/20
to rabbitmq-users
Thanks for your reply.

is it possible for firewall(syslog msgs) to publish message to rabbitMQ, using above mentioned approach.


On Wednesday, 29 January 2020 17:35:34 UTC+5:30, iwe...@mail.de wrote:
You need to customize a plugin for syslog to publish messages to rabbitmq. For this purpose I may suggest taking more attention on Kafka, which is a real-time stream system and supports log replay.

Regards
Wesley Peng

> On Jan 29, 2020 - 6:15 PM, umo...@gmail.com wrote:
>
>
> Hi,
>
> Currently syslogs are configured to forward to 514 port using UDP, just want to know!
>
> Is it possible to forward syslog to RabbitMQ server ?
>
> thanks,
> Mohan
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.

> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.

Dave Cottlehuber

unread,
Jan 30, 2020, 12:31:06 PM1/30/20
to rabbitmq users


On Thu, 30 Jan 2020, at 08:56, U MK wrote:
> Thanks for your reply.
>
> is it possible for firewall(syslog msgs) to publish message to
> rabbitMQ, using above mentioned approach.

You need something to proxy the syslog data into rabbitmq.

rsyslog has a very good plug-in that does this:

https://www.rsyslog.com/doc/v8-stable/configuration/modules/omrabbitmq.html

I have used this for a few years already it handles reconnecting nicely.

Dave

iwe...@mail.de

unread,
Jan 30, 2020, 6:43:34 PM1/30/20
to rabbitm...@googlegroups.com
Thanks Dave for sharing this use case.

Regards
Wesley Peng

> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.

> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/50a66778-ecd7-43d4-8067-af623942be28%40www.fastmail.com.
>

Reply all
Reply to author
Forward
0 new messages