I've been at this for days, I'm still new to filebeat and have setup filebeat on a different server with the same config, but on this server doesn't matter what I try I get the following error and error after error.
Exiting: error loading config file: yaml: line 160: did not find expected
Here is my filebeat config.
YAML is very sensitive to indentation. I took your filebeat.yml and ran it through an online YAML validator here: https://codebeautify.org/yaml-validator.
There were leading spaces on line numbers 15, 21, and 161. After removing those, the YAML validates successfully. Here's the valid YAML:
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.