<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.gmail-
{mso-style-name:gmail-;}
p.gmail-m-7464560312515807291xmsonormal, li.gmail-m-7464560312515807291xmsonormal, div.gmail-m-7464560312515807291xmsonormal
{mso-style-name:gmail-m_-7464560312515807291xmsonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.gmail-m-7464560312515807291xxmsonormal, li.gmail-m-7464560312515807291xxmsonormal, div.gmail-m-7464560312515807291xxmsonormal
{mso-style-name:gmail-m_-7464560312515807291xxmsonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>I have bionic; not sure if that makes a difference?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='margin-left:.5in'><b>From:</b> syslog-ng <syslog-ng-bounces@lists.balabit.hu> <b>On Behalf Of </b>Balazs Scheidler<br><b>Sent:</b> Friday, July 15, 2022 3:08 AM<br><b>To:</b> Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu><br><b>Subject:</b> Re: [syslog-ng] Kafka-c issues<o:p></o:p></p></div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-left:.5in'>You probably don't have the kafka-c driver installed, this can happen as ubuntu 18.04 does not have the required librdkafka libraries. If I remember correctly, we don't even supply Xenial packages, but I might be wrong there. How did you acquire 3.37.1 for Ubuntu Xenial?<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>Our ubuntu-focal packages do have kafka-c, if you check out the build logs, it's included: <a href="https://github.com/syslog-ng/syslog-ng/runs/6776527081?check_suite_focus=true">https://github.com/syslog-ng/syslog-ng/runs/6776527081?check_suite_focus=true</a><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>```<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span class=gmail->Kafka support (module) : yes</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>```<o:p></o:p></p></div></div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-left:.5in'>On Fri, Jul 15, 2022 at 8:29 AM Sanjay Patel <<a href="mailto:skp@smarthive.io">skp@smarthive.io</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>Attila,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>Thanks for the response. Here is the response with your requested change.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>Error parsing config, syntax error, unexpected LL_IDENTIFIER, expecting '}' in block destination kafka() at /usr/share/syslog-ng/include/scl/kafka/kafka.conf:24:4:5-4:12:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>1<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>2 #Start Block block destination kafka() at /usr/share/syslog-ng/include/scl/kafka/kafka.conf:24<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>3<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>4-----> kafka-c(bootstrap_servers("<a href="http://127.0.0.1:9092" target="_blank">127.0.0.1:9092</a>") topic("{incoming}") );<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>4-----> ^^^^^^^<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>5<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>6 #End Block block destination kafka() at /usr/share/syslog-ng/include/scl/kafka/kafka.conf:24<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>7<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>Included from /etc/syslog-ng/syslog-ng.conf:6:3-9:4:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>1 @version: 3.37<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>2 @include "scl.conf"<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>3 @define kafka-implementation kafka-c<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>4<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>5 destination d_kafka {<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>6-----> kafka(<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>6-----> ^^^^^^^<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>7-----> bootstrap-servers("<a href="http://127.0.0.1:9092" target="_blank">127.0.0.1:9092</a>")<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>8-----> topic("{incoming}")<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>9-----> );<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'>10 };<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in'> <o:p></o:p></p><div><div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in'><b>From:</b> syslog-ng <<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a>> <b>On Behalf Of </b>Attila Szakacs (aszakacs)<br><b>Sent:</b> Friday, July 15, 2022 2:25 AM<br><b>To:</b> Syslog-ng users' and developers' mailing list <<a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a>><br><b>Subject:</b> Re: [syslog-ng] Kafka-c issues<o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'>Hi Sanjay,</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'>Can you try switching the define and the include, like:</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'>@version: 3.37 </span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black;background:white'>@include "scl.conf"</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'>@define kafka-implementation kafka-c</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'>...</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'> </span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'>Cheers,</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'>Attila</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='font-size:12.0pt;color:black'> </span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><hr size=2 width="98%" align=center></div></div><div id="gmail-m_-7464560312515807291divRplyFwdMsg"><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in'><b><span style='color:black'>From:</span></b><span style='color:black'> syslog-ng <<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a>> on behalf of Sanjay Patel <<a href="mailto:skp@smarthive.io" target="_blank">skp@smarthive.io</a>><br><b>Sent:</b> Friday, July 15, 2022 8:07 AM<br><b>To:</b> Syslog-ng users' and developers' mailing list <<a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a>><br><b>Subject:</b> Re: [syslog-ng] Kafka-c issues</span> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in'> <o:p></o:p></p></div></div><div><div style='border:solid #9C6500 1.0pt;padding:2.0pt 2.0pt 2.0pt 2.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;line-height:12.0pt;background:#FFEB9C;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><b><span style='font-size:10.0pt;color:#9C6500'>CAUTION:</span></b><span style='font-size:10.0pt;color:black'> 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.</span><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in'> <o:p></o:p></p><div><div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>Here is what happens when I include it. It tires to use kafka-java<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>Error parsing config, syntax error, unexpected LL_IDENTIFIER, expecting '}' in block destination kafka() at /usr/share/syslog-ng/include/scl/kafka/kafka.conf:24:4:5-4:15:<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>1<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>2 #Start Block block destination kafka() at /usr/share/syslog-ng/include/scl/kafka/kafka.conf:24<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>3<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>4-----> kafka-java(bootstrap_servers("<a href="http://127.0.0.1:9092" target="_blank">127.0.0.1:9092</a>") topic("{incoming}") );<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>4-----> ^^^^^^^^^^<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>5<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>6 #End Block block destination kafka() at /usr/share/syslog-ng/include/scl/kafka/kafka.conf:24<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>7<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>Included from /etc/syslog-ng/syslog-ng.conf:6:3-9:4:<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>1 @version: 3.37<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>2 @define kafka-implementation kafka-c<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>3 @include "scl.conf"<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>4<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>5 destination d_kafka {<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>6-----> kafka(<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>6-----> ^^^^^^^<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>7-----> bootstrap-servers("<a href="http://127.0.0.1:9092" target="_blank">127.0.0.1:9092</a>")<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>8-----> topic("{incoming}")<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>9-----> );<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'>10 };<o:p></o:p></p><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.0in'> <o:p></o:p></p><div><div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor'><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in'><b>From:</b> syslog-ng <<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a>> <b>On Behalf Of </b>Peter Kokai (pkokai)<br><b>Sent:</b> Friday, July 15, 2022 2:05 AM<br><b>To:</b> Syslog-ng users' and developers' mailing list <<a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a>><br><b>Subject:</b> Re: [syslog-ng] Kafka-c issues<o:p></o:p></p></div></div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in'> <o:p></o:p></p><div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in'>hello,<o:p></o:p></p></div><div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='color:#212121'> </span><o:p></o:p></p></div><div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='color:#212121'>the @include is required for kafka, but you commented out with #</span><o:p></o:p></p></div><div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='color:#212121'> </span><o:p></o:p></p></div><div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='color:#212121'>--</span><o:p></o:p></p></div><div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span style='color:#212121'>kokan</span><o:p></o:p></p></div><div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in'> <o:p></o:p></p></div><div id="gmail-m_-7464560312515807291x_ms-outlook-mobile-signature"><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in'>Get <a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2FAAb9ysg&data=05%7C01%7Cattila.szakacs%40balabit.com%7Caaff869a335a430ee9c708da66285200%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637934620622603978%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2Ly%2Fj%2F9kJUQjcC%2Bi3yAjXC6qyevj50Wv5Vx1pUQ9ESU%3D&reserved=0" target="_blank">Outlook for Android</a><o:p></o:p></p></div><div style='margin-left:.5in'><div style='margin-left:.5in'><div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><hr size=2 width="98%" align=center></div></div></div><div id="gmail-m_-7464560312515807291x_divRplyFwdMsg"><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in'><b><span style='color:black'>From:</span></b><span style='color:black'> syslog-ng <<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@lists.balabit.hu</a>> on behalf of Sanjay Patel <<a href="mailto:skp@smarthive.io" target="_blank">skp@smarthive.io</a>><br><b>Sent:</b> Friday, July 15, 2022 7:30:21 AM<br><b>To:</b> <a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a> <<a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a>><br><b>Subject:</b> [syslog-ng] Kafka-c issues</span> <o:p></o:p></p><div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in'> <o:p></o:p></p></div></div><div><div style='border:solid #9C6500 1.0pt;padding:2.0pt 2.0pt 2.0pt 2.0pt'><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in;line-height:12.0pt;background:#FFEB9C;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><b><span style='font-size:10.0pt;color:#9C6500'>CAUTION:</span></b><span style='font-size:10.0pt;color:black'> 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.</span><o:p></o:p></p></div><p class=gmail-m-7464560312515807291xmsonormal style='margin-left:1.5in'> <o:p></o:p></p><div><div><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>I am trying to setup Syslog-NG t send output to Kakka. I am running ubuntu 18.04, Syslog-NG version 3.37.<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>This is my syslog-ng.conf ( I have #scl.conf because if I don’t it tries to install kafka-java)<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>@version: 3.37<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>@define kafka-implementation kafka-c<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>#@include "scl.conf"<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>destination d_kafka {<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> kafka(<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> bootstrap-servers("<a href="http://127.0.0.1:9092" target="_blank">127.0.0.1:9092</a>")<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> topic("{incoming}")<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> );<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>};<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>This is the error when I try and run sudo syslog-ng<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>Error parsing config, syntax error, unexpected LL_IDENTIFIER, expecting '}' in /etc/syslog-ng/syslog-ng.conf:6:3-6:8:<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>1 @version: 3.37<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>2 @define kafka-implementation kafka-c<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>3 #@include "scl.conf"<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>4<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>5 destination d_kafka {<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>6-----> kafka(<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>6-----> ^^^^^<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>7 bootstrap-servers("<a href="http://127.0.0.1:9092" target="_blank">127.0.0.1:9092</a>")<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>8 topic("{incoming}")<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>9 );<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>10 };<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>Any help will be appreciated.<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> <o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'>SKP<o:p></o:p></p><p class=gmail-m-7464560312515807291xxmsonormal style='margin-left:1.5in'> <o:p></o:p></p></div></div></div></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in'>______________________________________________________________________________<br>Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><o:p></o:p></p></blockquote></div><p class=MsoNormal style='margin-left:.5in'><br clear=all><br>-- <o:p></o:p></p><div><p class=MsoNormal style='margin-left:.5in'>Bazsi<o:p></o:p></p></div></div></body></html>