I'm trying to send rabbitmq logs (all of them) to a remote syslog server. But the configuration stanzas don't seem to work at all.
Did I get this right?
If I set the log.syslog stanzas correctly in rabbitmq.conf then all logging should be also sent to the syslog server.
log.syslog = true
log.syslog.level = debug
log.syslog.transport = udp
log.syslog.protocol = rfc3164
log.syslog.host = syslog.lan
log.syslog.port = 514
log.syslog.identity = rabbitmq
log.syslog.facility = local4
But nothing comes on syslog.lan:514.
I'm using RabbitMQ v3.8.9 on Windows, with the firewall completely off (also off on syslog.lan host).
I also tried with the Docker image rabbitmq:3.9-management - same thing, it doesn't work.
And for the listener on syslog.lan:514/udp - there's just a docker image with datalust/seq-input-syslog container. I also used tcpdump to look for ttraffic, but there's none.
I'm trying to get all the rabbitmq logs into Seq. That's the goal. I would appreciate any help.
My complete rabbitmq.conf::
loopback_users = none
log.console = true
log.console.level = debug
log.file.level = debug
log.exchange = false
log.exchange.level = info
log.syslog = true
log.syslog.level = debug
log.syslog.transport = udp
log.syslog.protocol = rfc3164
log.syslog.host = tinkerbox.lan
log.syslog.port = 514
log.syslog.identity = rabbitmq
log.syslog.facility = local4
and advanced.config:
[
{syslog, [
{logger, []}
]},
{lager, [
{handlers, [
{syslog_lager_backend, []}
]}
]}
].