简体   繁体   English

如何订阅 cloudwatch 指标数据?

[英]How can I subscribe to cloudwatch metric data?

I am using Elasitsearch to get logs from cloudwatch log group by subscribing a lambda to the log group.我正在使用 Elasitsearch 通过将 lambda 订阅到日志组来从 cloudwatch 日志组获取日志。 So whenever there is a log event pushed to the log group, my lambda will be triggered and it will save the log to Elasticsearch.所以每当有日志事件推送到日志组时,我的 lambda 都会被触发,并将日志保存到 Elasticsearch。 Then I can search the log via Kibana dashboard.然后我可以通过 Kibana 仪表板搜索日志。

I'd like to put the metrics data to Elasticsearch as well but I couldn't find a way to subscribe to metrics data.我也想将指标数据放入 Elasticsearch,但我找不到订阅指标数据的方法。

You can use AWS Module in MetricBeat from the Elastic Beat's family.您可以在 Elastic Beat 家族的 MetricBeat 中使用AWS 模块 Note that pulling metrics from cloudwatch will result in chargeable API calls.请注意,从 cloudwatch 提取指标将导致收费的 API 调用。 So you should carefully consider the scraping frequency.所以你应该仔细考虑刮擦频率。

Thanks谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以在 CloudWatch 上更改指标单位吗? - Can I change metric units on CloudWatch? 如何在有指标数据之前创建cloudwatch警报? - How to create cloudwatch alarm before there is data for metric? 如何使用Boto获取实例的最新Cloudwatch指标数据? - How do I get the most recent Cloudwatch metric data for an instance using Boto? 我如何从aws cloudwatch中获取特定指标的数据? - how could i get the data from specific metric from aws cloudwatch? 如何使用 AWS Boto3 获取 Cloudwatch 指标统计信息? - How can I use AWS Boto3 to get Cloudwatch metric statistics? 如何在AWS Cloudwatch中创建观察EFS计量大小的自定义指标? - How can I create a custom metric watching EFS metered size in AWS Cloudwatch? 在 AWS cloudwatch 仪表板中,我可以 select 绘制指标的所有维度吗 - in AWS cloudwatch dashboard, can i select to chart all dimensions of a metric 如何在C#中更新Cloudwatch自定义指标? - How do I update a Cloudwatch custom metric in C#? 如何在 Cloudwatch 中为 RDS 内存利用率创建自定义指标? - How do I create a custom metric for RDS Memory Utilization in Cloudwatch? 使用Terraform创建云监视警报(metric_alarm)。 如何为单个主机使用alarm_actions? - Using Terraform to create a cloudwatch alert (metric_alarm). How can I use alarm_actions for an individual host?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM