# Illegal quoting in translate filter

**URL:** <https://discuss.elastic.co/t/illegal-quoting-in-translate-filter/93938>\
**Category:** Logstash\
**Created:** [July 20, 2017, 12:49pm UTC](https://discuss.elastic.co/t/illegal-quoting-in-translate-filter/93938 "2017-07-20T12:49:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexIsFly](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@AlexIsFly](https://discuss.elastic.co/u/AlexIsFly)\
**Post date:** [July 20, 2017, 12:50pm UTC](https://discuss.elastic.co/t/illegal-quoting-in-translate-filter/93938/1 "2017-07-20T12:50:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 17, 2017, 12:50pm UTC](https://discuss.elastic.co/t/illegal-quoting-in-translate-filter/93938/2 "2017-08-17T12:50:35Z")

</div>

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