Alaska
(Rob de Vries)
June 16, 2016, 3:42pm
9
See here:
And now I am having another similar problem with translate plugin. I have been using translate filter using logstash 2.3.1 and it was working fine. like
translate {
field => "xxxx"
dictionary_path => "/yyyy/zzzz.csv"
destination => "wwww"
}
The configuration works in logstash 2.3.1, but when running with logstash 2.2.0, I got this error
The error reported is:
LogStash::Filters::Translate: Bad Syntax in dictionary file /yyyy/zzzz.csv
Combining this issue and the issue above, I cannot run…
Seems the documentation on Elasticsearch filter plugin | Logstash Reference [8.11] | Elastic is wrong still. I did what was posted and changed
fields => ["field1", "field2"]
to
fields => [["field1", "field2"]]
and it worked for me as well. Was running into the same error as you with Logstash 2.3.2.