JP Vossen via plug on 26 Jun 2020 10:37:57 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Sending a Kafka topic to syslog?


I may have a $WORK need to push a Kafka topic to syslog, or really Syslog-NG if it matters. But any time I try to Google for that I only find the opposite: sending syslog into Kafka!

I did find https://leroyer.io/posts/2019-05-26-output-kafka-logs-to-syslog/ from 2019 that talks about sending Kafka logs to syslog using `log4j`, but I wonder if that really means Kafka _logs_, as in server logs, and not "topics."

I don't have any of the sending side toys yet, we're trying to figure out if that next step is even worth it.

I'd *really* rather push from the Kafka topic/node to the remote syslog loghost, ideally over TCP/514 or some similar port. If I absolutely have to I can probably do a pull from the syslog side, but I'd much rather not. Simpler is also better, I'd rather not have to increase my dependencies and attack surface with a lot of extra cruft.

Any clues?  TIA,
JP
--  -------------------------------------------------------------------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug