Closed arcsoftech closed 3 years ago
Did you manage to solve this?
No. It did not work. I had to use this package "winston-aws-cloudwatch" to make it work.
Ok I see. I will close this ticket then, unless you're willing to give more details, because this module is working on AWS Lambda for other users.
+1 to @arcsoftech
This package does not work out of the box with cloudwatch in a node environment.
Does it assume that the stream and group have already been created? If so, that should be explained in the read me.
It does not assume that stream / group have already been created, if it doesn't find them, it will create them.
My lambda function is not attached to any VPC, Still It is not posting logs to cloudwatch.
Here is my code.