_csvparse failure multiline


(Hassan Nashrah) #1
input {
 file {
    path => "/opt/logstash-5.1.1/bin/01.12.2016.csv"
    start_position => "beginning"
   sincedb_path => "/dev/null"
  }
}
filter {
  csv {
      separator => ","
     columns => ["departureDate","comment","flightNo","passportNo"]
  }

if [departureDate] == "departureDate" { drop{ } }

}
output {
   elasticsearch {
     hosts => "http://192.168.2.26:9200"
     index => "dollar"
  }
stdout { }
}

The comment filed has data which is mulitilined, any idea how it can be parsed,, i am getting _csvparsefailure for those records


(system) #2

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