# How to combine Multiline events into Single Event

**URL:** https://discuss.elastic.co/t/how-to-combine-multiline-events-into-single-event/244714
**Category:** Logstash
**Created:** [August 12, 2020, 12:43pm UTC](https://discuss.elastic.co/t/how-to-combine-multiline-events-into-single-event/244714 "2020-08-12T12:43:41Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [August 12, 2020, 3:29pm UTC](https://discuss.elastic.co/t/how-to-combine-multiline-events-into-single-event/244714/4 "2020-08-12T15:29:44Z")

</div>

> [@Pavani\_Reddy](#):
>
> Here I am using TCP and UDP as input, Can I use multiline codec input in this case?

Unfortunately, a multiline codec does not work well with a tcp input. See [here](https://discuss.elastic.co/t/auto-flush-interval-not-working-inside-my-tcp-plugin/242614/2).

---

_[View the full topic](https://discuss.elastic.co/t/how-to-combine-multiline-events-into-single-event/244714)._
