May somebody help me to solve the following problem?
My index gets written into elasticsearch but the field host.name is not changed according the predefined dictionary.
Data gets ingested from a metricbeat v7.3.
input {
pipeline { address => "metricbeat-ais" }
}
filter {
translate {
field => "host.name"
destination => "host.name"
override => "true"
dictionary => {
"host-001" => "COM"
"host-002" => "AMS"
"host-003" => "WEB"
"host-004" => "SQL"
}
}
}
output {
...
}
}