<div dir="ltr">Hello,<div><br></div><div>I do not really have 3.3.7 version at my hand, so I did not really dig in if that version supports or not. Well it seems it is from v3.4.1, for this option you have to update at least to that.</div><div><br></div><div>I do not see a reason why won't it work, and you could use stuff like system() source.</div><div><br></div><div>--</div><div>Kokan</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 27, 2018 at 5:44 PM venkateswarlu vinjamuri <<a href="mailto:venkates.vin@gmail.com">venkates.vin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Thanks kokan for your reply,</div><div><br></div><div>I am getting the below error after making the change as you suggested</div><div><b>destination df_remote_0 {syslog("::1" transport("udp") ip-protocol(6));};</b></div><div><b></b><br></div><div>Error:</div><div>=====</div><div>Error parsing afsocket, inner-dest plugin ip-protocol not found in /etc/syslog-ng/syslog-ng.conf at line 45, column 78:</div><div>destination df_remote_0 {syslog(":1" transport("udp") ip-protocol(6));};<br>                                                                             ^^^^^^^^^^^<br>Please suggest.</div><div><br></div><div>Regards,</div><div>V/</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 27, 2018 at 7:56 PM Péter, Kókai <<a href="mailto:peter.kokai@oneidentity.com" target="_blank">peter.kokai@oneidentity.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><br>The error message lists the correct transport methods: *please use one of udp, tcp, or tls;* <br><div>There is no such option udp6, you could use specify ipv6 via ip-protocol(4/6)</div><div><br></div><div>All together syslog("::1" transport("udp") ip-protocol(6)); should work.</div><div><br></div><div>--</div><div>Kokan</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 27, 2018 at 4:09 PM venkateswarlu vinjamuri <<a href="mailto:venkates.vin@gmail.com" target="_blank">venkates.vin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div><font style="background-color:rgb(255,255,0)"><b>issue</b>: syslog-ng is not starting if we configure IPV6 IP along with RFC-5424 format</font></div><div><font style="background-color:rgb(255,242,204)">Using below command to run syslog-ng:</font></div><div><font style="background-color:rgb(208,224,227)"><font style="background-color:rgb(255,242,204)"></font>/sbin/syslog-ng -f /etc/syslog-ng/syslog-ng.conf -R /var/syslog-ng.persist -p /var/syslog-ng.pid</font><font style="background-color:rgb(255,255,0)"><br><div><br></div><div>Getting the below error:</div><div>------------------------------</div><div><b>syslog-ng: Error changing to <br>Unknown syslog transport specified, please use one of udp, tcp, or tls; transport='udp6', id='df_remote_0#0'</b></div><div><b></b><br></div></font></div><div>Could anyone please let me know what should be the configuration in syslog-ng.conf for IPV6 syslog-ng server IP with RFC-5424 format.</div><div><br></div><div>we are using syslog-ng-3.3.7 version.</div><div><br></div><div><b>If the below configuration is correct, will it work if we upgrade to newer version with the below configuration?</b><br></div><div></div><div><br></div><div>I am using the below configuration in syslog-ng.conf:</div><div>========================================</div><div>options {<br>  stats_freq (0);<br>  flush_lines (0);<br>  time_reopen (10);<br>  log_fifo_size (10000);<br>  chain_hostnames (off);<br>  use_dns (no);<br>  create_dirs (no);<br>  keep_hostname (no);<br>  perm(0640);<br>  group("root");<br>};<br><br></div><div><br></div><div># sources<br></div><div>source s_all {</div><div> internal(); </div><div>unix-stream("/dev/log"); </div><div>file("/proc/kmsg" program_override("kernel: "));</div><div> };<br><br></div><div><br></div><div>filter f_remote { facility(local7); };<br></div><div>destination df_remote_0 {syslog("xxxx:xxxx:xxxx:xxxx:xxxx" transport("udp6"));};<br>log { source(s_all); filter(f_remote); destination(df_remote_0</div><div><br></div><div>Please help if there is any issue in the above configuration?</div><div><br></div><div>Regards,</div><div>V/</div></div></div></div></div></div></div></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>