# Input/Output Plugin

**URL:** <https://discuss.elastic.co/t/input-output-plugin/130949>\
**Category:** Logstash\
**Created:** [May 8, 2018, 7:41am UTC](https://discuss.elastic.co/t/input-output-plugin/130949 "2018-05-08T07:41:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrNerd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrnerd/32/30763_2.png) [@MrNerd](https://discuss.elastic.co/u/MrNerd)\
**Post date:** [May 8, 2018, 7:41am UTC](https://discuss.elastic.co/t/input-output-plugin/130949/1 "2018-05-08T07:41:48Z")

</div>

Hi, I have installed into a machine logstash, the problem here is that i want a **tcp** and **udp plugin** to take everithing at port **5.000**.  
I'ts better if I use **rsyslog** for this or the logtash **tcp/udp plugins** will be fine for this??

Thanks MrNerd

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [May 8, 2018, 7:43am UTC](https://discuss.elastic.co/t/input-output-plugin/130949/2 "2018-05-08T07:43:51Z")

</div>

You can have a single Logstash instance that listens to both 5000/tcp and 5000/udp, yes.

---

<div class="post-metadata">

**Author:** ![MrNerd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrnerd/32/30763_2.png) [@MrNerd](https://discuss.elastic.co/u/MrNerd)\
**Post date:** [May 8, 2018, 7:45am UTC](https://discuss.elastic.co/t/input-output-plugin/130949/3 "2018-05-08T07:45:41Z")

</div>

Thanks for your soon reply @magnusbaeck, and one more question, while logstash listens on those ports its possible to add or delete some lines of the packets im receiving?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [May 8, 2018, 7:57am UTC](https://discuss.elastic.co/t/input-output-plugin/130949/4 "2018-05-08T07:57:53Z")

</div>

Yes, that's possible.

---

<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:** [June 5, 2018, 7:57am UTC](https://discuss.elastic.co/t/input-output-plugin/130949/5 "2018-06-05T07:57:54Z")

</div>

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