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

**URL:** <https://discuss.elastic.co/t/add-syslog-output-mode-to-filebeat-error-which-occurs-at-transport-client-go/143228>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 7, 2018, 1:29am UTC](https://discuss.elastic.co/t/add-syslog-output-mode-to-filebeat-error-which-occurs-at-transport-client-go/143228 "2018-08-07T01:29:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![changgq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/changgq/32/68301_2.png) [@changgq](https://discuss.elastic.co/u/changgq)\
**Post date:** [August 7, 2018, 1:29am UTC](https://discuss.elastic.co/t/add-syslog-output-mode-to-filebeat-error-which-occurs-at-transport-client-go/143228/1 "2018-08-07T01:29:57Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/c/2c0a4d18467222160c94b550f5f585f38ec0f63a.png)

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.

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [August 7, 2018, 4:43pm UTC](https://discuss.elastic.co/t/add-syslog-output-mode-to-filebeat-error-which-occurs-at-transport-client-go/143228/2 "2018-08-07T16:43:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 4, 2018, 4:43pm UTC](https://discuss.elastic.co/t/add-syslog-output-mode-to-filebeat-error-which-occurs-at-transport-client-go/143228/3 "2018-09-04T16:43:41Z")

</div>

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