# Filebeat not indetifying multiple line logs

**URL:** <https://discuss.elastic.co/t/filebeat-not-indetifying-multiple-line-logs/148661>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 14, 2018, 5:37pm UTC](https://discuss.elastic.co/t/filebeat-not-indetifying-multiple-line-logs/148661 "2018-09-14T17:37:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nelson\_Ferreira\_Juni](https://avatars.discourse-cdn.com/v4/letter/n/5e9695/32.png) [@Nelson\_Ferreira\_Juni](https://discuss.elastic.co/u/Nelson_Ferreira_Juni)\
**Post date:** [September 14, 2018, 5:37pm UTC](https://discuss.elastic.co/t/filebeat-not-indetifying-multiple-line-logs/148661/1 "2018-09-14T17:37:14Z")

</div>

I have some springboot logs that start like this:

2018-09-11 09:18:42.968 INFO 12036 ---

And I created a pattern in the filebeat.yml file to consider multiple line logs as part of the previous line like this:  
`
#=========================== Filebeat inputs =============================`

filebeat.inputs:

# Each - is an input. Most options can be set at the input level, so

# you can use different inputs for various configurations.

# Below are the input specific configurations.

- type: log

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [September 17, 2018, 1:31pm UTC](https://discuss.elastic.co/t/filebeat-not-indetifying-multiple-line-logs/148661/2 "2018-09-17T13:31:18Z")

</div>

Hi @Nelson_Ferreira_Juni and welcome 🙂

I don't think the pattern you are using is a valid regular expression for filebeat. Filebeat uses golang regular expressions, that follow [RE2 syntax](https://github.com/google/re2/wiki/Syntax). You could start trying with a simple regular expression to match the year, then continue polishing it.

---

<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 15, 2018, 1:31pm UTC](https://discuss.elastic.co/t/filebeat-not-indetifying-multiple-line-logs/148661/3 "2018-10-15T13:31:23Z")

</div>

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