如何在 metricsbeat 中配置 AWS 指标?

问题描述

我在 Linux 中使用 Kibana 和 metricbeat 7.7.0,并使用 AWS 托管的 elasticsearch。 我想为 metricbeat 配置 AWS 模块,但无法完成。我添加了具有以下配置的文件 modules.d/aws.yml

- module: aws
  period: 60s
  metricsets:
    - ec2
  access_key_id: xxx
  secret_access_key: xxx

当我运行 ./metricbeat -e 时出现此错误

2021-02-13T12:37:21.718Z    ERROR   instance/beat.go:932    Exiting: 1 error: metricset 'aws/ec2' not found
Exiting: 1 error: metricset 'aws/ec2' not found

我应该如何配置 aws 模块?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)