[syslog-ng] Kafka-c issues

Peter Kokai (pkokai) Peter.Kokai at oneidentity.com
Fri Jul 15 06:05:02 UTC 2022


the @include is required for kafka, but you commented out with #


Get Outlook for Android<https://aka.ms/AAb9ysg>
From: syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of Sanjay Patel <skp at smarthive.io>
Sent: Friday, July 15, 2022 7:30:21 AM
To: syslog-ng at lists.balabit.hu <syslog-ng at lists.balabit.hu>
Subject: [syslog-ng] Kafka-c issues

CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.

I am trying to setup Syslog-NG t send output to Kakka. I am running ubuntu 18.04, Syslog-NG version 3.37.

This is my syslog-ng.conf   ( I have #scl.conf because if I don’t it tries to install kafka-java)

@version: 3.37

@define kafka-implementation kafka-c

#@include "scl.conf"

destination d_kafka {






This is the error when I try and run sudo syslog-ng

Error parsing config, syntax error, unexpected LL_IDENTIFIER, expecting '}' in /etc/syslog-ng/syslog-ng.conf:6:3-6:8:

1       @version: 3.37

2       @define kafka-implementation kafka-c

3       #@include "scl.conf"


5       destination d_kafka {

6----->   kafka(

6----->   ^^^^^

7           bootstrap-servers("")

8           topic("{incoming}")

9         );

10      };

Any help will be appreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20220715/64c175d1/attachment-0001.htm>

More information about the syslog-ng mailing list