<div dir="auto">You can probably use that tool with the program() source, or run it via systems/init and redirect its output to a named pipe that is in turn read by syslog-ng using its pipe source.<div dir="auto"><br></div><div dir="auto">The syslog header can be added by syslog-ng using its program-override() and default-pri() options.</div><div dir="auto"><br></div><div dir="auto">If you choose to use a program() source that could possibly merged into syslog-ng as a feature using scl (see other examples in the scl/ directory in the source tree). This way the next user who needs the same feature can use it too.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 24, 2021, 19:50 Ali Okan Yuksel <<a href="mailto:kaox.gen@gmail.com">kaox.gen@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>Hi team,</div><div><br></div><div>How we can collect sflow messages and feed to syslog-ng? I found a project but I am not sure that if this project can be used for feeding syslog-ng</div><br><div><a href="https://github.com/sflow/sflowtool/" target="_blank" rel="noreferrer">https://github.com/sflow/sflowtool/</a></div><br>I want to get sflow traffic from A10 cgnat solution and feed it as syslog.<br><br>What are your suggestions? I want to use open-source tools.<div><br>-- <br><div dir="ltr" data-smartmail="gmail_signature"><a href="http://www.siyahsapka.org" target="_blank" rel="noreferrer">http://www.siyahsapka.org</a></div></div></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer 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 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 noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>