root@dev01:/usr/share/logstash# sudo bin/logstash --path.settings /etc/logstash -f /etc/logstash/conf.d/02-beats-input.conf --config.test_and_exit
ERROR: Failed to parse YAML file "/etc/logstash/logstash.yml". Please confirm if the YAML structure is valid (e.g. look for incorrect usage of whitespace or indentation). Aborting... parser_error=>(): expected , but found BlockMappingStart while parsing a block mapping at line 138 column 2