# CSV output file row separator

**URL:** <https://discuss.elastic.co/t/csv-output-file-row-separator/229375>\
**Category:** Logstash\
**Created:** [April 23, 2020, 4:36am UTC](https://discuss.elastic.co/t/csv-output-file-row-separator/229375 "2020-04-23T04:36:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![karnamonkster](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karnamonkster/32/67266_2.png) [@karnamonkster](https://discuss.elastic.co/u/karnamonkster)\
**Post date:** [April 23, 2020, 4:36am UTC](https://discuss.elastic.co/t/csv-output-file-row-separator/229375/1 "2020-04-23T04:36:16Z")

</div>

Hi,

LS Version - 7.5  
I am trying to get the data out using CSV output plugin,  
I could see there is are separate rows for header and values on my system (centOS)  
but when being pushed using curl X POST to another system, that file has only single row entry.

Here is my output config:

```
csv {
        dir_mode => 0750
        path => "/var/log/logstash/file_%{yyyyMMdd}.csv"
        fields => ["#serial-number","device-identification","created","value-data-count","manufacturer","version","device-type","access-number","status","signature",",storagenumber=0"]
        csv_options => {
                "col_sep" => ";"
                "write_headers" => true
                "headers" => ["#serial-number","device-identification","created","value-data-count","manufacturer","version","device-type","access-number","status","signature",",storagenumber=0"]
                }
        }
```

---

<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:** [May 21, 2020, 4:36am UTC](https://discuss.elastic.co/t/csv-output-file-row-separator/229375/2 "2020-05-21T04:36:17Z")

</div>

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