How to Remove the header of CSV files with Logstash?


(Ahmed HADDAD) #1

Hello, I am asking if is there an option to remove the header row of the CSV files with logstash or any other undesired rows ?


(Shrikant) #2

yes,
you can use the remove plugin


(Magnus B├Ąck) #3

you can use the remove plugin

There's no remove plugin, but there's a drop plugin. Here's an example: Logstash Drop header line while csv upload


(Ahmed HADDAD) #4

I found in your documentation another way just affect skip_header and skip_empty_rows to true in the filter plugin .


(system) #5

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