Translate filter with dictionary_path and a special delimiter

Hello,

Is it possible to specify a delimiter in a translate filter and how ?
I have a dictionnary in csv where the delimiter is |

This is my current filter :

translate {
field => [field]
destination => [destination]
refresh_interval => '1000'
dictionary_path => 'dictionary.csv'
}

Dictionary file :

1|chicken
2|bread
3|potatoes

Hello @theo1991

Unfortunately it is not possible at the moment.

I've checked the code and we use to the CSV Ruby library which defaults to , (CSV).

I suggest to open an feature request on the official repository:

Hello Luca,

Thanks for your answer. To fit with my needs, I modify my csv to a json file and it works now. I will open a request for that, thanks !

Yes modifying the file to json or using commas instead of pipe will work.