Illegal quoting in translate filter


(Alex Is Fly) #1

Hi,

I have a dictionary for the translate filter that looks like this :

192.168.1.1,Column2;Column3;"Column4";Column5

If there is a match with the key, then I process
Column2;Column3;"Column4";Column5
in a csv filter.

However the pipeline won't start and I have this error :
ERROR logstash.agent - Pipeline aborted due to error {:exception=>#<RuntimeError: LogStash::Filters::Translate: Illegal quoting in line 1. when loading dictionary file at /path/to/dict.csv>

I have a workaround if i set quote_char => "'" and i replace all my double quotes with single quote.
Any idea why double quotes are giving me troubles?

Thanks


(system) #2

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