NoMethodError: "undefined method 'to_hash'" with CSV input in Logstash 5.6.2

Without the debug flag, LogStash seems to just sit and wait for something, but it doesn't actually parse the CSV file I've given it. When I look at the process, it does seem to have a lock on the file though.