The csv filter can't parse fields if there is more that 2 double quotes in the field. That is why I want to remplace only the two double quotes at the beegining by a space. I tyed this but it didn't worked :
gsub => ["message"," \ " \ "," "]
I know that I can remplace all double quotes by space but I only want to remplace two double quotes
Yes you are right. I tried with your filter but the result is the same. It didn't remplace the "" with a space so I get the same csv error because of more that 2 double quotes in the same field. It wroks if I put this filter
gsub => ["message","\""," "]
to remplace all double quotes but I realy want to keep the other couple of double quote because some times the content of the second double quotes couple contains a comma and comma is my separator for the csv filter. So if the comma is between quotes it is unrecognized as separator and that's exactly what I want. That's why I only want to remplace the double double quotes. I hope it is possible.
I tried the filter and it replaces "" with a space. But I think you don't actually want to replace two consecutive quotes? Could you give an example of an input and the desired output string?
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.