# Multiline logs with space between rows

**URL:** https://discuss.elastic.co/t/multiline-logs-with-space-between-rows/174745
**Category:** Logstash
**Created:** [April 1, 2019, 9:34am UTC](https://discuss.elastic.co/t/multiline-logs-with-space-between-rows/174745 "2019-04-01T09:34:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cppatel](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@cppatel](https://discuss.elastic.co/u/cppatel)
#### Post date: [April 1, 2019, 9:34am UTC](https://discuss.elastic.co/t/multiline-logs-with-space-between-rows/174745/1 "2019-04-01T09:34:32Z")

</div>

Hi, I am using filebeat version- 6.2.1. it is sending logs to the logstash to parse it. Now the issue is my log is basically an output of a script so it is not sort of structured. It is something like below. 2 lines have same pattern then space and again next two line have the same pattern and so on. I don't want this output as a single event. In kibana output I want that all 1st Instance data in 1 raw and all 2nd Instance data in other raw. Is it possible to do so as data is distributed among multiple lines.

1 30.8835399 29.2371633  
2 12.6585989 11.3700574

1 TEMP 1048574 51192 997382 4.88205887  
2 TEMP 1048574 51192 997382 4.88205887

---

<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: [April 1, 2019, 2:02pm UTC](https://discuss.elastic.co/t/multiline-logs-with-space-between-rows/174745/2 "2019-04-01T14:02:24Z")

</div>

If you want to consume everything separated by a blank line then you can have filebeat use a [multiline](https://www.elastic.co/guide/en/beats/filebeat/current/multiline-examples.html) pattern with '^$'

---

<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: [April 29, 2019, 2:02pm UTC](https://discuss.elastic.co/t/multiline-logs-with-space-between-rows/174745/3 "2019-04-29T14:02:25Z")

</div>

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