# Ignoring Newline (\\n) within double quotes for CSV Filter

**URL:** <https://discuss.elastic.co/t/ignoring-newline-n-within-double-quotes-for-csv-filter/27700>\
**Category:** Logstash\
**Created:** [August 19, 2015, 6:16pm UTC](https://discuss.elastic.co/t/ignoring-newline-n-within-double-quotes-for-csv-filter/27700 "2015-08-19T18:16:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![umangjain](https://avatars.discourse-cdn.com/v4/letter/u/8e8cbc/32.png) [@umangjain](https://discuss.elastic.co/u/umangjain)\
**Post date:** [August 19, 2015, 6:16pm UTC](https://discuss.elastic.co/t/ignoring-newline-n-within-double-quotes-for-csv-filter/27700/1 "2015-08-19T18:16:47Z")

</div>

Hello,

I have a CSV file and am trying to read it using my logstash configuration. Everything works great for each row. It doesn't work if we have newline character (\n) in a value surrounded by double quotes.

Example:  
EN,Address,MD,PHYSCN,OO,"  
ABCD",ACTIVE

Note: Notice the new line between double quotes.

Please let me know how to make it ignore the newline within double quotes using CSV filter.

Thanks.

---

<div class="post-metadata">

**Author:** ![Jalal\_UL\_Deen](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@Jalal\_UL\_Deen](https://discuss.elastic.co/u/Jalal_UL_Deen)\
**Post date:** [February 6, 2017, 3:23pm UTC](https://discuss.elastic.co/t/ignoring-newline-n-within-double-quotes-for-csv-filter/27700/2 "2017-02-06T15:23:26Z")

</div>

HI,  
I am having same issue, did you manage to resolve 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:** [July 6, 2017, 4:28am UTC](https://discuss.elastic.co/t/ignoring-newline-n-within-double-quotes-for-csv-filter/27700/3 "2017-07-06T04:28:53Z")

</div>


