小编sha*_*ekh的帖子

我在哪里可以找到AWS中EC2实例的访问日志?

我需要检查谁创建了实例,或者谁已经停止/终止/重新启动实例以及时间.

amazon-ec2 amazon-web-services amazon-cloudtrail devops

7
推荐指数
2
解决办法
2万
查看次数

如何分离uWSGI的日志?

我想分离uwsgi的日志,如访问日志,请求日志,单个文件中的错误日志.目前这些都在同一个文件中,格式不正确.

uwsgi

6
推荐指数
1
解决办法
1932
查看次数

解组 filebeat 配置中的错误

我已经为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)

yaml logstash elastic-stack

5
推荐指数
1
解决办法
2万
查看次数

如何在不使用 AutoScaling 的情况下使用 aws cloudformation 启动多个 EC2 实例?

我想使用 aws cloudformation 模板启动多个 Ec2 实例,而不使用 AutoScaling。请让我知道如何启动?

amazon-web-services aws-cloudformation

2
推荐指数
1
解决办法
5810
查看次数