# Cant I get the csv file from netflow data and send with UDP or TCP?

**URL:** <https://discuss.elastic.co/t/cant-i-get-the-csv-file-from-netflow-data-and-send-with-udp-or-tcp/86606>\
**Category:** Logstash\
**Created:** [May 22, 2017, 6:54am UTC](https://discuss.elastic.co/t/cant-i-get-the-csv-file-from-netflow-data-and-send-with-udp-or-tcp/86606 "2017-05-22T06:54:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sangrho](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sangrho](https://discuss.elastic.co/u/sangrho)\
**Post date:** [May 22, 2017, 6:54am UTC](https://discuss.elastic.co/t/cant-i-get-the-csv-file-from-netflow-data-and-send-with-udp-or-tcp/86606/1 "2017-05-22T06:54:00Z")

</div>

I wanna get the csv file from netflow data and send with UDP or TCP in output.

My code is like below :

```
input{
  file{
    path=>"netflow.pcap"
    codec=>netflow{
      versions=>[5]
    }
  }
}
output{
  csv{
    fields =>"some field"
    csv_options =>{col_sep =>","}
    path =>"location"
   }
}

```

So, How can I get the csv file and send with UDP or TCP(output).

---

<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:** [June 19, 2017, 6:54am UTC](https://discuss.elastic.co/t/cant-i-get-the-csv-file-from-netflow-data-and-send-with-udp-or-tcp/86606/2 "2017-06-19T06:54:16Z")

</div>

Closed on June 19, 2017, 6:54am UTC

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