Logstash errors out when running command for config

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.