# Logstash errors out when running command for config

**URL:** <https://discuss.elastic.co/t/logstash-errors-out-when-running-command-for-config/162541>\
**Category:** Logstash\
**Created:** [December 31, 2018, 10:16pm UTC](https://discuss.elastic.co/t/logstash-errors-out-when-running-command-for-config/162541 "2018-12-31T22:16:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![balumurari1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balumurari1/32/39203_2.png) [@balumurari1](https://discuss.elastic.co/u/balumurari1)\
**Post date:** [January 1, 2019, 3:47pm UTC](https://discuss.elastic.co/t/logstash-errors-out-when-running-command-for-config/162541/4 "2019-01-01T15:47:54Z")

</div>

Hello you need to mention the column names as well like as shown below,

> filter {  
> csv {  
> separator =\> ","  
> columns =\> ["open","high","low","close","volume"]  
> }  
> }

The sample example is as shown [here](https://discuss.elastic.co/t/load-csv-file-in-logstash/151319/3).

---

_[View the full topic](https://discuss.elastic.co/t/logstash-errors-out-when-running-command-for-config/162541)._
