Exporting Cloudwatch logs to Stackdriver

I am using AWS Lambda functions that log to Cloudwatch. However, I prefer Google Stackdriver's logging features. How can I export the logs from Cloudwatch to Stackdriver? I know I can export them to S3, but then what? Do I have to write an ETL script to send them to Stackdriver?

I don't want to use the Stackdriver logging packages in my code itself, as the lambda will likely finish before the logs have been sent to Stackdriver.


Pasting an answer from the last comment link for better usability:

Stackdriver supports the metric types from Amazon Lambda listed in this article

To use these metrics in charting or alerting, your Google Cloud Platform project or AWS account must be associated with a Workspace.

After you have a Workspace, you can add more GCP projects and AWS accounts to it using the Adding monitored projects instructions.

If you plan to monitor more than just your host project, then the best practice is to use a new, empty GCP project to host the Workspace and then to add the projects and AWS accounts you want to monitor to your Workspace. This lets you choose a useful name for your host project and Workspace, and gives you a little more flexibility in moving monitored projects between Workspaces. The following diagram shows Workspace W monitoring GCP projects A and B and AWS account D:

enter image description here

Monitoring creates this AWS connector project when you add an AWS account to a Workspace. The connector project has a name beginning with AWS Link, and it has the same parent organization as the Workspace. To get the name and details about your AWS connector projects, go to the Inspecting Workspace section.

In the GCP Console, AWS connector projects appear as regular GCP projects. Don't use connector projects for any other purpose, and don't delete them while your Workspace is still connected to your AWS account.