# Filebeat Multi line file read with Logstash

**URL:** https://discuss.elastic.co/t/filebeat-multi-line-file-read-with-logstash/232761
**Category:** Beats
**Tags:** filebeat
**Created:** [May 15, 2020, 6:30am UTC](https://discuss.elastic.co/t/filebeat-multi-line-file-read-with-logstash/232761 "2020-05-15T06:30:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![vaibhav\_morye](https://avatars.discourse-cdn.com/v4/letter/v/ecc23a/32.png) [@vaibhav\_morye](https://discuss.elastic.co/u/vaibhav_morye)
#### Post date: [May 15, 2020, 6:30am UTC](https://discuss.elastic.co/t/filebeat-multi-line-file-read-with-logstash/232761/1 "2020-05-15T06:30:25Z")

</div>

I have a bit of an unconventional log system from some legacy codebase where the log is in a multiline format.

```
Example : 
 Sat May 9 00:00:02 2020
 key = value
 key1 = value1
 key2 = value2
 key2 = value2
 key3 = value3
 key4 = value4
 key5 = value5

blank line 

 Sat May 9 00:00:03 2020
 key = value
 key1 = value1
 key2 = value2
 key3 = value3
 key4 = value4
 key5 = value5
 key6 = value6

```

logs are separated by a blank line. how.  
I can read this log using filebeat multiline file module.  
Any kind of pointers will be appreciated.

Thank you and regards  
Vaibhav Morye

---

<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 12, 2020, 6:30am UTC](https://discuss.elastic.co/t/filebeat-multi-line-file-read-with-logstash/232761/2 "2020-06-12T06:30:27Z")

</div>

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