# Csv filter, how to ignore new line?

**URL:** <https://discuss.elastic.co/t/csv-filter-how-to-ignore-new-line/91721>\
**Category:** Logstash\
**Created:** [July 4, 2017, 7:12am UTC](https://discuss.elastic.co/t/csv-filter-how-to-ignore-new-line/91721 "2017-07-04T07:12:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gogo1525](https://avatars.discourse-cdn.com/v4/letter/g/977dab/32.png) [@gogo1525](https://discuss.elastic.co/u/gogo1525)\
**Post date:** [July 4, 2017, 7:12am UTC](https://discuss.elastic.co/t/csv-filter-how-to-ignore-new-line/91721/1 "2017-07-04T07:12:22Z")

</div>

Below is source example. Below is only 1 log.

a|b|c|ddd|basdsadsa  
asdsadsa  
asdsadsad  
asdsads|

Condition:

, 5 Fields(A,B,C,D,E)  
, 1 separators ( | )  
, csv filter,

In this case, How to ignore newlines in 5th field?  
I try to split filter with terminator configuration.  
But failed ..  
help me

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 4, 2017, 7:53am UTC](https://discuss.elastic.co/t/csv-filter-how-to-ignore-new-line/91721/2 "2017-07-04T07:53:56Z")

</div>

I have never been able to achieve this, but super interested if someone has.

---

<div class="post-metadata">

**Author:** ![Yimjunhyeok](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yimjunhyeok/32/19052_2.png) [@Yimjunhyeok](https://discuss.elastic.co/u/Yimjunhyeok)\
**Post date:** [July 4, 2017, 12:58pm UTC](https://discuss.elastic.co/t/csv-filter-how-to-ignore-new-line/91721/3 "2017-07-04T12:58:02Z")

</div>

Maybe logstash can change the separator, not a terminator

---

<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:** [August 1, 2017, 12:58pm UTC](https://discuss.elastic.co/t/csv-filter-how-to-ignore-new-line/91721/4 "2017-08-01T12:58:02Z")

</div>

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