# Filebeat does not read field when it includes a new line

**URL:** <https://discuss.elastic.co/t/filebeat-does-not-read-field-when-it-includes-a-new-line/318886>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 14, 2022, 4:46pm UTC](https://discuss.elastic.co/t/filebeat-does-not-read-field-when-it-includes-a-new-line/318886 "2022-11-14T16:46:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arhodoula](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@arhodoula](https://discuss.elastic.co/u/arhodoula)\
**Post date:** [November 14, 2022, 4:46pm UTC](https://discuss.elastic.co/t/filebeat-does-not-read-field-when-it-includes-a-new-line/318886/1 "2022-11-14T16:46:24Z")

</div>

I have the following data which filebeat cannot process due to the new line

"field\_1","field\_2","field\_3","field\_4","field\_5",  
"921122.27872","

34905888319","FRGG","2022-09-23","XYZ"

What I need is that the second field will be indexed with the space in it. So the whole entry above will indexed as one line.

I do not seem to be able to do it with my current multiline yaml configuration.

---

<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:** [December 12, 2022, 6:47pm UTC](https://discuss.elastic.co/t/filebeat-does-not-read-field-when-it-includes-a-new-line/318886/2 "2022-12-12T18:47:22Z")

</div>

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