Closed vbohata closed 6 years ago
@vbohata
Please give the text in the severity
field of a sample event.
It does work if you set "override" => true
. I will update the docs.
Closing.
I would recommend you mention about the need to use the override option where the idea of overwriting the same field is first brought up in the documentation, here:
Kevin
According to documentation setting the same source and dest field should lead to "in-place" replacements. Instead of it, translate do not work (do not translate).
translate { exact => false field => "severity" destination => "severity" dictionary => { "DBG" => "DEBUG" "INF" => "INFO" "ERR" => "ERROR" } }
If destination is other field, translation work. For example the values here are translated to severitydest:
translate { exact => false field => "severity" destination => "severitydest" dictionary => { "DBG" => "DEBUG" "INF" => "INFO" "ERR" => "ERROR" } }