【问题标题】:AWS CloudWatch Logs custom metrics not showing up in GUIAWS CloudWatch Logs 自定义指标未显示在 GUI 中
【发布时间】:2021-05-21 10:58:49
【问题描述】:

我正在向 CW 日志上的不同日志添加自定义过滤器指标。其中一些添加得很好,可以添加到图表和警报中。无论我多久尝试添加它们,其他一些都会在添加后消失。我知道有延迟,但即使在几个小时后我也无法使用它们。

流程似乎很简单,因为我正在遵循 AWS 的指南。我有什么遗漏吗?

【问题讨论】:

标签: amazon-web-services amazon-cloudwatch amazon-cloudwatchlogs amazon-cloudwatch-metrics


【解决方案1】:

对于可能遇到此问题的其他人,如果指标已经过时,有时可能需要几天时间才能显示出来:

时间戳为 24 小时前或更长时间的数据点从提交之日起至少需要 48 小时才能用于 GetMetricData 或 GetMetricStatistics。时间戳在 3 到 24 小时之前的数据点可能需要长达 2 小时才能用于 GetMetricData 或 GetMetricStatistics。

https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricData.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-08-05
    • 2017-04-21
    • 1970-01-01
    • 2017-04-15
    • 1970-01-01
    • 2020-03-08
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多