CW指标的LogStash插件:无法收集自动级别的CPUUTILIZE
我正在尝试使用LogStash收集CloudWatch指标数据。 我已经成功安装了该插件,但是我无法从自动化组的Cpuutilization收集指标数据。
这是我配置的输入:
cloudwatch {
access_key_id => "${PROD_KEY_ENV}"
secret_access_key => "${PROD_SECRET_KEY_ENV}"
type => "prod"
tags => ["CWMetrics"]
namespace => "AWS/EC2"
metrics => ["CPUUtilization"]
filters => {"AutoScalingGroupName" => "name_of_asg"}
period => 60
statistics => ["Average"]
region => "eu-central-1"
}
logStash正确启动并正确地收集数据(我还配置了其他CW指标数据),但是对于上面的输入,我收到了以下错误:
Error: The filter 'AutoScalingGroupName' is invalid
您能帮我吗?
谢谢你,
卢卡
I'm trying to collect CloudWatch metrics data using Logstash.
I have successfully installed the plugin, but I'm unable to collect the ,metrics data from about CPUUtilization of an autoscaling group.
Here's the input I have configured:
cloudwatch {
access_key_id => "${PROD_KEY_ENV}"
secret_access_key => "${PROD_SECRET_KEY_ENV}"
type => "prod"
tags => ["CWMetrics"]
namespace => "AWS/EC2"
metrics => ["CPUUtilization"]
filters => {"AutoScalingGroupName" => "name_of_asg"}
period => 60
statistics => ["Average"]
region => "eu-central-1"
}
Logstash correctly starts and correctly collects data (also other CW metrics data I have configured), but for the input right above I got the following error:
Error: The filter 'AutoScalingGroupName' is invalid
Can you please help me?
Thank you,
Luca
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论