Join Slack
Powered by
For a system executing flows in AWS ECR and orches...
# ask-community
j
Jacob Goldberg
07/09/2021, 4:58 PM
For a system executing flows in AWS ECR and orchestrated by Prefect Cloud, is there a way to redirect Prefect Cloud logs to CloudWatch?
k
Kevin Kho
07/09/2021, 5:02 PM
Hey
@Jacob Goldberg
, I don’t think Prefect has something natively built-in for this, but you might be able to this with the
awslogs
log driver as seen
here
j
Jacob Goldberg
07/09/2021, 5:03 PM
@Kevin Kho
Thanks for the tip!
k
Kevin Kho
07/09/2021, 5:06 PM
The summary is you can try adding the env variable to ECSRun. You need appropriate IAM roles. Or you can do it through the task definition.
3
Views
Open in Slack
Previous
Next