# TCP Input and Multiline Codec Question

**URL:** <https://discuss.elastic.co/t/tcp-input-and-multiline-codec-question/99778>\
**Category:** Logstash\
**Created:** [September 8, 2017, 2:30am UTC](https://discuss.elastic.co/t/tcp-input-and-multiline-codec-question/99778 "2017-09-08T02:30:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ptinson](https://avatars.discourse-cdn.com/v4/letter/p/c77e96/32.png) [@ptinson](https://discuss.elastic.co/u/ptinson)\
**Post date:** [September 8, 2017, 2:30am UTC](https://discuss.elastic.co/t/tcp-input-and-multiline-codec-question/99778/1 "2017-09-08T02:30:48Z")

</div>

Hi There,

I have been trying to use the multiline codec with a TCP input. So far with no luck.  
Reading through other posts it seems to be that the multiline codec with a TCP input isn't really ideal.

I would use file beats, however the server the logs are written to is AIX and GO isnt a go...

The log being shipped is java application multiline format, this isnt something i can change.

Has anyone had success with collating multiline events on a TCP input?

Paul

---

<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:** [October 6, 2017, 2:31am UTC](https://discuss.elastic.co/t/tcp-input-and-multiline-codec-question/99778/2 "2017-10-06T02:31:07Z")

</div>

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