# Output to CSV file

**URL:** <https://community.dremio.com/t/output-to-csv-file/1057>\
**Category:** Uncategorized\
**Created:** [April 27, 2018, 7:22pm UTC](https://community.dremio.com/t/output-to-csv-file/1057 "2018-04-27T19:22:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamermh](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@tamermh](https://community.dremio.com/u/tamermh)\
**Post date:** [April 27, 2018, 7:22pm UTC](https://community.dremio.com/t/output-to-csv-file/1057/1 "2018-04-27T19:22:10Z")

</div>

can i read data from MS SQL and write it to a CSV file continuously using dremio?

Thanks for help

---

<div class="post-metadata">

**Author:** ![tshiran](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/tshiran/32/15_2.png) [@tshiran](https://community.dremio.com/u/tshiran)\
**Post date:** [April 27, 2018, 7:24pm UTC](https://community.dremio.com/t/output-to-csv-file/1057/2 "2018-04-27T19:24:51Z")

</div>

Can you please share some more details on the end goal. That is, what is the purpose of writing it to a CSV file? Normally the way people use Dremio is they create a reflection (perhaps a raw reflection in this case) on the MySQL table. Internally, Dremio uses Parquet as opposed to CSV to persist that reflection.

---

<div class="post-metadata">

**Author:** ![tamermh](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@tamermh](https://community.dremio.com/u/tamermh)\
**Post date:** [April 28, 2018, 7:57am UTC](https://community.dremio.com/t/output-to-csv-file/1057/3 "2018-04-28T07:57:13Z")

</div>

I have security data stored in database and i want to read it and send it to another application (log management) using syslog.

But since dremo cannot send syslog, i was thinking of dumping the data to a csv file and then use other tool to ship the content of the file to my application over syslog
