Implementing utf-8-sig in Logstash conf file

Hi everyone, I was trying to implement skip_header within my Csv filter plugin. However, I'm unsuccessful as my first column's header has this invisible \ufeff character and hence it does not match the name I specified in the columns array (e.g "Question" vs "\ufeffQuestion" causes failure).

I know a solution to this problem is to read my CSV file with encoding utf-8-sig. However, I can only implement utf-8 in Logstash based on the documentation.

Anyone knows how to implement utf-8-sig for the Logstash config file?

Thank you!

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