Translate filter is not working with yaml

what am I missing here?

### Tranlate and define new field
   translate {
      field => "[site_code]"
      dictionary_path => "/tmp/network_site_name.yaml"
      destination => "[site_name]"
   }

### Tranlate and define new field
   translate {
      field => "[site_code]"
      dictionary_path => "/tmp/network_site_region.yaml"
      destination => "[site_region]"
   }

[root@elktst01 tmp]# grep hou /tmp/network_site_region.yaml
hou:nala

but output has no field call site_name or site_region
"site_code" => "hou",

The space after the colon is not optional. "hou: nala"

That did the trick. Thank you @Badger

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