# Multiline filter failure

**URL:** https://discuss.elastic.co/t/multiline-filter-failure/250354
**Category:** Beats
**Created:** [September 29, 2020, 12:15pm UTC](https://discuss.elastic.co/t/multiline-filter-failure/250354 "2020-09-29T12:15:17Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vikramaddagulla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikramaddagulla/32/139858_2.png) [@vikramaddagulla](https://discuss.elastic.co/u/vikramaddagulla)
#### Post date: [September 29, 2020, 12:15pm UTC](https://discuss.elastic.co/t/multiline-filter-failure/250354/1 "2020-09-29T12:15:17Z")

</div>

Hello,

I am trying to parse a log file in multiline format and each new linestarts with the date :

28-Sep-2020 18:26:19.982

I tried to configure the config as below :

```
filebeat.inputs:
- type: log
  tags: ["PROD_CATALINAOUT"]
  paths:
    - /catalina.out
  multiline.pattern: '^\%{MONTHDAY}'
  multiline.negate: true
  multiline.match: after

```

However, it does not seem to be working...I found that the entire log file has been written as a single entry...How do I fix this?

---

<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: [September 29, 2020, 2:46pm UTC](https://discuss.elastic.co/t/multiline-filter-failure/250354/2 "2020-09-29T14:46:37Z")

</div>

You should move this to the filebeat forum, it is not a logstash question.

---

<div class="post-metadata">

### Author: ![vikramaddagulla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikramaddagulla/32/139858_2.png) [@vikramaddagulla](https://discuss.elastic.co/u/vikramaddagulla)
#### Post date: [September 29, 2020, 3:01pm UTC](https://discuss.elastic.co/t/multiline-filter-failure/250354/3 "2020-09-29T15:01:36Z")

</div>

Updated to Beats

---

<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 27, 2020, 3:01pm UTC](https://discuss.elastic.co/t/multiline-filter-failure/250354/4 "2020-10-27T15:01:56Z")

</div>

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