I have some Fargate container running a backend application, I'm using awslog driver so I can get STDOUT and STDERR in CloudWatch, that works perfectly, but now the application is failing with some funny error "ENOSPC: no space left on device, write" (which is related to npm), and as some folder is full I can't keep working.
In CloudWatch I have not syslogs "/var/log" from the containers to analyze and understand the root of the issue, so Neither do I know what is being written (like temp files or a massive log) nor where, in order to maybe set some crontab to clean up or perhaps to solve it at the code level after checking the syslog.
I wonder if anyone has been able to send /var/log (syslog) from the container to CloudWatch and how it was accomplished?, thanks.