Filebeat version: 5.5
I used environment variable in filebeat config, but it report the error as following:
filebeat2017/08/18 12:34:40.994010 beat.go:339: CRIT Exiting: error loading config file: yaml: line 21: did not find expected '-' indicator
Exiting: error loading config file: yaml: line 21: did not find expected '-' indicator
My filebeat config as following, the LOG_PATH is environment variable i used:
- input_type: log
# Paths that should be crawled and fetched. Glob based paths.
So what's the reason? That dose not support this syntax?