Question:
I have enabled this option.
Problem is:
1 2 |
If I don't press snapshot log button log, is not going to s3. |
1 2 3 4 |
Is there any method through which log publish to s3 each day? Or how log file rotation option is working ? |
Answer:
If you are using default instance profile with Elastic Beanstalk, then AWS automatically creates permission to rotate the logs to S3.
If you are using custom instance profile, you have to grant Elastic Beanstalk permission to rotate logs to Amazon S3.
The logs are rotated every 15 minutes.
AWS Elastic Beanstalk: Working with Logs