amazon-web-services - 启用日志文件轮换到 s3

标签 amazon-web-services amazon-s3 amazon-elastic-beanstalk

我已启用此选项。

enter image description here
问题是:

If I don't press snapshot log button log, is not going to s3.

enter image description here
Is there any method through which log publish to s3 each day? 

Or how log file rotation option is working ? 

最佳答案

如果您在 Elastic Beanstalk 中使用默认实例配置文件,则 AWS 会自动创建将日志轮换到 S3 的权限。

如果您使用自定义实例配置文件,则必须授予 Elastic Beanstalk 权限以将日志轮换到 Amazon S3。

日志每 15 分钟轮换一次。

AWS Elastic Beanstalk:Working with Logs

关于amazon-web-services - 启用日志文件轮换到 s3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21398790/

相关文章:

nginx 502 阻碍 eb Worker 和 SQS 导致可见性超时不被遵守

macos - YAML异常: unacceptable character '' (0x0)

amazon-web-services - 如果 AWS CloudFormation 模板生成器创建的模板无效,为什么还要使用它?

android - 我现在可以使用 Firebase 吗?

amazon-web-services - 云形成 : Create VPC Endpoint in the VPC in which a lambda is running

c# - 什么是 C# 中的处置对象?

amazon-web-services - 为什么使用 SNS 来触发 lambda 函数,而不是 API 网关?

javascript - 在 SIRV S3 NodeJ 中的文件夹之间移动图像

amazon-web-services - https 与 Cloudfront 的签名 url

amazon-web-services - Beanstalk 实例 NTP