Add syslog output mode to filebeat error, which occurs at transport/client.go

Filebeat Version: 7.0.0-alpha1
ERROR: unsupported network type udp.
source: libbeat/outputs/transport/client.go line 76.

I want add syslog output to filebeat, but use udp to send messages error.
I think this should be error, it shouldn't be check TLS and Proxy to UDP.

Hello @changgq, the code is doing the right thing, when you are using UDP, UDP4 or UDP6 it checks that
no proxy or TLS is defined on the config object.

If any of these settings are defined we fallthrough to the default case and return an error.
To fix your code I would check that the Config send to the NewClient method return nil on the Proxy and TLS fields.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.