Parsing CSV with different header


I have some thousand CSV files which I need to index into elasticsearch. All of those CSV files have different headers. I tried to use the CSV filter for logstash, but then I read THAT. Besides of my incomprehension of the decision to only use autodetect_column_names once per startup of logstash and not once per pipeline, I can't find another way to make it work, without starting/stopping logstash for each single file over and over again.

Is there another way to do that?
Are there any suggestions how to index many different CSV files with a different header at once?

Best wishes and a happy Christmas time!

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