https://stackoverflow.com/questions/27519974/selective-parsing-of-csv-file-using-logstash
"Comm_Plan","Queue_Booking","Order_Reference","Generation_Date"
"","No","FMN1191MVHV","31/03/2014"
"","No","FMN1191N64G","31/03/2014"
"","No","FMN1192OPMY","31/03/2014"
在filter里,csv后面,增加这样的行
if [Comm_Plan] == "Comm_Plan" {
drop { }
}
if [Comm_Plan] == "Comm_Plan" and [Queue_Booking] == "Queue_Booking" and [Order_Reference] == "Order_Reference" and [Generation_Date] == "Generation_Date" {
drop { }
}