Fred Stluka via plug on 26 Jun 2020 11:29:03 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Sending a Kafka topic to syslog? |
JP, I haven't done it myself yet, but it looks like writing to the syslog from a Bash script is pretty easy, so maybe you can hook in that way? See: - http://google.com/search?q=write+to+linux+log --Fred ------------------------------------------------------------------------ Fred Stluka Bristle Software, Inc. http://bristle.com #DontBeATrump #SadLittleDonny #ShakeOffTheTrumpStink #MakeAmericaHonorableAgain http://MakeAmericaHonorableAgain.us/Trump/Countdown.htm ------------------------------------------------------------------------ On 6/26/20 1:37 PM, JP Vossen via plug wrote:
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.orgAnnouncements - http://lists.phillylinux.org/mailman/listinfo/plug-announceGeneral Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________ 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