falco

Logs not getting sent to AWS Cloudwatch when docker in detached or foreground

℡╲_俬逩灬. 提交于 2020-07-06 11:50:32
问题 When I run the docker script in interactive mode it works. I can see the logs in the console and also in AWS CloudWatch Logs. The below docker script runs in interactive mode and I have added the awslogs configuration so the logs go into cloudwatch. docker awslogs configuration docker run --rm -i -t --log-driver awslogs \ --log-opt awslogs-region=us-east-1 \ --log-opt awslogs-group=falcoint \ --log-opt awslogs-create-group=true \ --privileged \ -v /dev:/host/dev \ -v /proc:/host/proc:ro \ -v

Logs not getting sent to AWS Cloudwatch when docker in detached or foreground

僤鯓⒐⒋嵵緔 提交于 2020-07-06 11:50:10
问题 When I run the docker script in interactive mode it works. I can see the logs in the console and also in AWS CloudWatch Logs. The below docker script runs in interactive mode and I have added the awslogs configuration so the logs go into cloudwatch. docker awslogs configuration docker run --rm -i -t --log-driver awslogs \ --log-opt awslogs-region=us-east-1 \ --log-opt awslogs-group=falcoint \ --log-opt awslogs-create-group=true \ --privileged \ -v /dev:/host/dev \ -v /proc:/host/proc:ro \ -v