# Configure TCP input via Central Management

**URL:** <https://discuss.elastic.co/t/configure-tcp-input-via-central-management/186152>\
**Category:** Beats\
**Tags:** fleet\
**Created:** [June 17, 2019, 8:14pm UTC](https://discuss.elastic.co/t/configure-tcp-input-via-central-management/186152 "2019-06-17T20:14:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jderose](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@jderose](https://discuss.elastic.co/u/jderose)\
**Post date:** [June 17, 2019, 8:14pm UTC](https://discuss.elastic.co/t/configure-tcp-input-via-central-management/186152/1 "2019-06-17T20:14:23Z")

</div>

I can setup an input in Filebeat as a TCP listener in the config file, but when I enroll it with Beats Central Management, my configuration is erased in favor of the UI configuration. However, I can't see any way to configure a TCP input through the UI. Is it true that I can not use TCP inputs when using Beats Central Management, or am I missing something? Thanks!

---

<div class="post-metadata">

**Author:** ![Michael\_Madden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_madden/32/46640_2.png) [@Michael\_Madden](https://discuss.elastic.co/u/Michael_Madden)\
**Post date:** [June 25, 2019, 2:48pm UTC](https://discuss.elastic.co/t/configure-tcp-input-via-central-management/186152/2 "2019-06-25T14:48:10Z")

</div>

Hello, thanks for reaching out about central management. Could you specify filebeat.inputs in central management? Once specified, it should reload automatically.

Thanks.

---

<div class="post-metadata">

**Author:** ![jderose](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@jderose](https://discuss.elastic.co/u/jderose)\
**Post date:** [June 25, 2019, 3:07pm UTC](https://discuss.elastic.co/t/configure-tcp-input-via-central-management/186152/3 "2019-06-25T15:07:56Z")

</div>

I've done that. There is no choice in the user interface to set that input to TCP mode rather than tailing a file.

---

<div class="post-metadata">

**Author:** ![jderose](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@jderose](https://discuss.elastic.co/u/jderose)\
**Post date:** [June 25, 2019, 3:52pm UTC](https://discuss.elastic.co/t/configure-tcp-input-via-central-management/186152/4 "2019-06-25T15:52:33Z")

</div>

I was able get it working through the UI, but it's a bit of a hack. It's not able to be saved without a path, and it's also not clear where the "Other Config Settings" will end up in the final merged confioguration, but with some trial and error, it seems to be working.

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/1/1/11d2e0e731304392bcae44cb1d980cb91c2fc334.png)

I also did get it working by editing each filebeat.yml (bypassing the central config). I had missed the comment that gets injected into that file after enrollment describing how to add unsupported central management configuration to it.

---

<div class="post-metadata">

**Author:** ![elafantastic](https://avatars.discourse-cdn.com/v4/letter/e/ac8455/32.png) [@elafantastic](https://discuss.elastic.co/u/elafantastic)\
**Post date:** [September 13, 2019, 2:49pm UTC](https://discuss.elastic.co/t/configure-tcp-input-via-central-management/186152/5 "2019-09-13T14:49:07Z")

</div>

I tried your fix but I'm not receiving any logs on udp. My application is sending logs over udp on: syslog://127.0.0.1:9001

TCP  
`
Sep 13 16:17:49 server1.com filebeat[5682]: 2019-09-13T16:17:49.123+0200 INFO [tcp input] tcp/input.go:103 Starting TCP input {"address": "localhost:9001"}
Sep 13 16:17:49 server1.com filebeat[5682]: 2019-09-13T16:17:49.124+0200 INFO [tcp] tcp/server.go:84 Started listening for TCP connection {"address": "localhost:9001"}`

#netstat -tnlp | grep filebeat  
tcp 0 0 127.0.0.1:9001 0.0.0.0:\* LISTEN 5682/filebeat  
  
UDP  
`
Sep 13 16:21:36 server1.com filebeat[5961]: 2019-09-13T16:21:36.275+0200 INFO udp/input.go:102 Starting UDP input
Sep 13 16:21:36 server1.com filebeat[5961]: 2019-09-13T16:21:36.275+0200 INFO [udp] udp/server.go:81 Started listening for UDP connection {"address": "localhost:9001"}`

#netstat -lptu | grep filebeat  
udp 0 0 [server1.com:9001](http://server1.com:9001) _:_ 5961/filebeat

---

<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:** [November 4, 2022, 7:12am UTC](https://discuss.elastic.co/t/configure-tcp-input-via-central-management/186152/6 "2022-11-04T07:12:40Z")

</div>


