amazon-web-services - CloudWatch 中的摄取时间是什么意思

标签 amazon-web-services logging amazon-cloudwatch

在 Cloudwatch 的事件结构中:

'events': [
        {
            'logStreamName': 'string',
            'timestamp': 123,
            'message': 'string',
            'ingestionTime': 123,
            'eventId': 'string'
        },
    ]

什么摄取时间 意思 ?

在此 doc他们在说 :

ingestionTime

The time the event was ingested.


我觉得还不清楚。

最佳答案

这里有两个时间戳字段。
timestamp是时候事件据说发生过 ,根据发送到 CloudWatch 的消息。
ingestionTime是 CloudWatch 实际收到有关事件的消息的时间。

两者之间的区别(假设所有时钟都是准确的)是事件发生时间与 CloudWatch 接收并“摄取”(被喂食、吃掉、消费)有关事件的消息之间的延迟。

关于amazon-web-services - CloudWatch 中的摄取时间是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41631142/

相关文章:

amazon-web-services - Golang DynamoDB UnmarshalListOfMaps 返回空数组

amazon-web-services - 通过负载将 AWS Kinesis Firehose 数据分区到 s3

java - 如何使用 groovy 配置文件激活 "Logback setup" Debug模式?

java - 在处理开始时而不是在结束时调用 MDC.clear() 有什么缺点吗?

amazon-web-services - Cloudwatch 自定义指标 - 内存利用率 --from-cron 不起作用

performance - Spark 流吞吐量监控

amazon-web-services - 从失效中删除文件 [Amazon AWS CloudFront]

amazon-web-services - 由 Terraform 启动的 AWS EC2 实例的动态命名 aws_autoscaling_group

database - 有效地跟踪多个日志文件

amazon-web-services - 列出 cloudwatch-logs 关系时出错