# Read Nifi CSV file in logstash

**URL:** <https://discuss.elastic.co/t/read-nifi-csv-file-in-logstash/198637>\
**Category:** Logstash\
**Created:** [September 9, 2019, 9:05am UTC](https://discuss.elastic.co/t/read-nifi-csv-file-in-logstash/198637 "2019-09-09T09:05:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DG13](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@DG13](https://discuss.elastic.co/u/DG13)\
**Post date:** [September 9, 2019, 9:05am UTC](https://discuss.elastic.co/t/read-nifi-csv-file-in-logstash/198637/1 "2019-09-09T09:05:52Z")

</div>

Hi,  
I have used Nifi to generate the csv file .  
When I open File generated in nifi in sublime text I could clearly see the data as in new line .  
But when same file gets input to logstash I cannot recognize the new line and messing the reading of the file .  
Appreciate if somebody help me how logstash recognize the new line character , Is it the /r/n or /n ?

Thanks,  
Divya

---

<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 7, 2019, 9:05am UTC](https://discuss.elastic.co/t/read-nifi-csv-file-in-logstash/198637/2 "2019-10-07T09:05:54Z")

</div>

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