Easier ingestion of CSV files

Is there a way to ingest csv file, where a csv field can automatically map to a specified column irrespective of its location in csv file ?

and also, how csv filter can automatically drop the header line during incremental uploads ... :slight_smile:

Neither of your questions are entirely clear to me. Perhaps you can give examples?

Is there a way to ingest csv file, where a csv field can automatically map to a specified column irrespective of its location in csv file ?

Do you want Logstash to read the header line dynamically, or what are you asking for?

and also, how csv filter can automatically drop the header line during incremental uploads ...

I don't see how the header line would not get dropped when processing a file incrementally.

yes, and insert data accordingly.

i am going to try ...
if [Type] == "Type" {
drop { }
}

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