Error when starting filebeat
[root@node1 filebeat]# ./filebeat -e -c filebeat.yml Exiting: error loading config file: yaml: line 29: did not find expected key
Find the 29 lines of the configuration file. There is no problem with the content of the configuration file. Find the reason, search various posts and blogs, and say that it may be due to spaces
Modify the space again, keep the paths consistent with the fields, and delete the space in front of the field
Start again and you can start normally
Similar Posts:
- MySQL exclude error 1114 holmium HY000 41 holmium“
- [Solved] Search with xadmin_ Related field got invalid lookup: icontains
- The solution to the problem of unified does not match any outer indentation level in pychar platform
- org.hibernate.QueryException: could not resolve property
- Error in configuring static IP in Ubuntu 18.04
- [Solved] org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key
- How to Solve Error makefile:3: *** missing separator. Stop.
- SpringMVC @RequestBody Error:Unrecognized field, not marked as ignorable
- [Solved] Dom4j parsing XML file error: invalid XML character (Unicode: 0x8)
- [Solved] Springboot Error: found character ‘@’ that cannot start any token. (Do not use @ for indentation)