The problem is with the docs, the "Description" section states:
Operationally, if the event field specified in the field configuration matches the EXACT contents of a dictionary entry key (or matches a regex if regex configuration item has been enabled), the field’s value will be substituted with the matched key’s value from the dictionary.
By default, the translate filter will replace the contents of the maching event field (in-place).
But the destination config option has a default value of "translation" leading to what's happening.
I've expected the "Description" section to be correct to overwrite the field as unsetting the "destination" config option isn't documented. Is it "destination" => null or undef or the same value as field? Maybe it isn't possible at all.
Version: 6.0.0
Operating System: Debian 9 Linux
Config File (if you have sensitive info, please remove it):
Sample Data: input:
output:
expected output:
The problem is with the docs, the "Description" section states:
But the destination config option has a default value of "translation" leading to what's happening. I've expected the "Description" section to be correct to overwrite the field as unsetting the "destination" config option isn't documented. Is it "destination" => null or undef or the same value as field? Maybe it isn't possible at all.