我需要检查谁创建了实例,或者谁已经停止/终止/重新启动实例以及时间.
我已经为logstash配置了filebeat。但是在启动 filebeat 时我收到以下错误:
main.go:42: CRIT Config error: Error reading config file: YAML config parsing failed on /etc/filebeat/filebeat.yml: yaml: unmarshal errors:
line 2: cannot unmarshal !!str `paths:
...` into []config.ProspectorConfig. Exiting.
Run Code Online (Sandbox Code Playgroud)
我已经在其他服务器上使用相同的配置配置了 filebeat,并且它工作正常,但我不明白为什么我会在此服务器上遇到此语法错误。
这是配置文件:
main.go:42: CRIT Config error: Error reading config file: YAML config parsing failed on /etc/filebeat/filebeat.yml: yaml: unmarshal errors:
line 2: cannot unmarshal !!str `paths:
...` into []config.ProspectorConfig. Exiting.
Run Code Online (Sandbox Code Playgroud) 我想使用 aws cloudformation 模板启动多个 Ec2 实例,而不使用 AutoScaling。请让我知道如何启动?