Translate filter dictionary error in execution

I'm having problems to run logstash 6.2.2 with the translate filter:

This is my translate filter code
<>

translate {
field => "month"
dictionary => {"01"=>"Jan", "02"=>"Feb"}
destination => "monthletter"
}

</>

I can run logstash when setting only field in the dictionary pram.
That is :
<>
translate {
field => "month"
dictionary => {"01"=>"Jan"}
destination => "monthletter"
}
</>

But when I try to add more fields to the dictionary
the execution stops due to an ERROR.

¿Any help?

What error?!

dictionary => {"01"=>"Jan", "02"=>"Feb"}

I think you need to remove the comma.

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