# Tcp input is broken on Z/os socket

**URL:** <https://discuss.elastic.co/t/tcp-input-is-broken-on-z-os-socket/109916>\
**Category:** Logstash\
**Created:** [December 1, 2017, 11:21am UTC](https://discuss.elastic.co/t/tcp-input-is-broken-on-z-os-socket/109916 "2017-12-01T11:21:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roytev](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@roytev](https://discuss.elastic.co/u/roytev)\
**Post date:** [December 1, 2017, 11:21am UTC](https://discuss.elastic.co/t/tcp-input-is-broken-on-z-os-socket/109916/1 "2017-12-01T11:21:01Z")

</div>

Hello!  
i'm sending json messages over TCP sockets from Mainframe using a REEXX/socket and it worked for me flawlessly from version 5.0 through 5.50,  
when i upgraded the stack to version 6.0(skipped 5.6) the messages aren't showing up i reinstalled logstash removed all the other config files removed the filter statements and only left: input tcp with some port and output stdout rubydebug when i connected to the port with my workstation using telnet i saw the message instantly on logstash but when i send a message from the mainframe nothing happens.  
after some trial and error i found that when i change the input from tcp to syslog i'm getting the message and it's working like old versions of logstash did.  
to me it looks like a bug in the logstash-tcp-input do you have any idea what's causing it?  
Thank you 🙂

---

<div class="post-metadata">

**Author:** ![roytev](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@roytev](https://discuss.elastic.co/u/roytev)\
**Post date:** [December 18, 2017, 12:35pm UTC](https://discuss.elastic.co/t/tcp-input-is-broken-on-z-os-socket/109916/2 "2017-12-18T12:35:32Z")

</div>

Hi someone have an idea?

---

<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:** [January 15, 2018, 12:48pm UTC](https://discuss.elastic.co/t/tcp-input-is-broken-on-z-os-socket/109916/3 "2018-01-15T12:48:30Z")

</div>

Closed on January 15, 2018, 12:48pm UTC

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