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.

The syslog header can be added by syslog-ng using its program-override() and default-pri() options.

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.

On Wed, Mar 24, 2021, 19:50 Ali Okan Yuksel <kaox.gen@gmail.com> wrote:
Hi team,

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

https://github.com/sflow/sflowtool/

I want to get sflow traffic from A10 cgnat solution and feed it as syslog.

What are your suggestions? I want to use open-source tools.

--
http://www.siyahsapka.org
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq