# Error loading configuration after upgrading to 5.0.1

**URL:** <https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886>\
**Category:** Logstash\
**Created:** [December 13, 2016, 3:01pm UTC](https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886 "2016-12-13T15:01:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssasporta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssasporta/32/13695_2.png) [@ssasporta](https://discuss.elastic.co/u/ssasporta)\
**Post date:** [December 13, 2016, 3:01pm UTC](https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886/1 "2016-12-13T15:01:58Z")

</div>

I am getting the following error:

`"Couldn't find any filter plugin named 'multiline'. Are you sure this is correct? Trying to load the multiline filter plugin resulted in this error: LoadError"}`

What wrong?

Thanks  
Sharon.

---

<div class="post-metadata">

**Author:** ![ssasporta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssasporta/32/13695_2.png) [@ssasporta](https://discuss.elastic.co/u/ssasporta)\
**Post date:** [December 13, 2016, 3:05pm UTC](https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886/2 "2016-12-13T15:05:09Z")

</div>

Was the multiline deprecated in 5.0.1?  
What are the alternatives?

How I do it?

Thanks  
Sharon.

---

<div class="post-metadata">

**Author:** ![Ben19](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ben19/32/3745_2.png) [@Ben19](https://discuss.elastic.co/u/Ben19)\
**Post date:** [December 13, 2016, 4:17pm UTC](https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886/3 "2016-12-13T16:17:42Z")

</div>

Is the plugin installed?

```
$bin/logstash-plugin list
```

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [December 13, 2016, 4:24pm UTC](https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886/4 "2016-12-13T16:24:29Z")

</div>

The multiline filter has been deprecated. It generally makes sense to do multiline processing as close to the source as possible, so if you are using Filebeat, which supports multiline processing, you can do it there. In Logstash the recommended approach is to use the multiline codec instead of the filter.

---

<div class="post-metadata">

**Author:** ![ssasporta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssasporta/32/13695_2.png) [@ssasporta](https://discuss.elastic.co/u/ssasporta)\
**Post date:** [December 13, 2016, 5:02pm UTC](https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886/5 "2016-12-13T17:02:58Z")

</div>

But if I set it as multiline code in the logstash.conf, can I set various input patterns for input files from filebeat? I have various input file, each start with different unique pattern .

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [December 13, 2016, 5:04pm UTC](https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886/6 "2016-12-13T17:04:18Z")

</div>

If you are using Filebeat, perform the multiline processing there instead of in Logstash.

---

<div class="post-metadata">

**Author:** ![ssasporta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssasporta/32/13695_2.png) [@ssasporta](https://discuss.elastic.co/u/ssasporta)\
**Post date:** [December 13, 2016, 5:38pm UTC](https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886/7 "2016-12-13T17:38:50Z")

</div>

Yes, that's exactly what I am trying to do, but now, I have issues hot to define the multiline.pattern field in the prospector.  
Before, I was using a unique patter that I defined in my patter file.

\*Maybe I need to open this question on the filebeat page?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [December 13, 2016, 5:54pm UTC](https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886/8 "2016-12-13T17:54:42Z")

</div>

The earlier to can do the multiline processing the better, so I would recommend opening a topic around you issue in the Filebeat section.

---

<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:** [January 10, 2017, 5:54pm UTC](https://discuss.elastic.co/t/error-loading-configuration-after-upgrading-to-5-0-1/68886/9 "2017-01-10T17:54:58Z")

</div>

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