Hallo,
how do i correctly define a default value for an env variable substituion in a pipeline configuration?
I have tried with %{fdc.path.tool_cluster_dict:/etc/logstash/tool_cluster_dict.json} but he says the file doesn't exist. But i can copy the path from the config and do a cat on this path. (The permissions are set so everyone can read the file)
filter {
translate {
# This setting must be a path
# File does not exist or cannot be opened %{fdc.path.tool_cluster_dict:/etc/logstash/tool_cluster_dict.json}
dictionary_path => "%{fdc.path.tool_cluster_dict:/etc/logstash/tool_cluster_dict.json}"
...
}
}
Thanks in advance
Shaoran