I'm wondering if there is a way to parse one single CSV log using two distinct logstash conf files assuming each conf file would have a CSV filter plugin with autodetect_column_names set to true.
As I understand it, the option to autodetect column names drop the header event after reading it.
Therefore, I suppose this is why the second conf file never gets this event and I get values as column names.
Is there a way to keep this header event for the second configuration file or am I forced to not use a CSV filter in one of my conf files ?
Why would you want to parse the same CSV line twice? If they are running in the same pipeline then the second configuration file has access to all the fields that the first one parsed.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.