Translate: Unquoted fields do not allow \r or \n (line 1)

Hello,

I am struggling with a translation dilemma, I have been researching for hrs for answers, but i havent found the right one for my issue, and i do not know why i am getting this error:
Translate: Unquoted fields do not allow \r or \n (line 1)
Problem:
I have a translation set in logstash as below:

translate {
field => "module_id"
destination => "module_name_eng"
dictionary_path => "........./translation/translate_module.csv"
}

My translation file looks like this:
120,XXXX
778,YYYY
Also enclosed: image

I have no extra char after the first line.
Interestingly the very same file with one line is working, but when i add a new (so with 2 lines) I am getting the above error: Translate: Unquoted fields do not allow \r or \n (line 1)

I really do not understand why, obviously i am doing something wrong, but what it is?
Please help, it is driving me crazy, I have tried almost everything in the file now.

Thank you.

Can somebody please take a look at, others also tried to reproduce it and they have the same issue

It has been solved with YML file, since it seems that csv is just not working

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