There are more AWS SDK examples available in the AWS Doc SDK Examples
Cross-service examples for CloudWatch Logs using AWS SDKs
The following code examples show how to use Amazon CloudWatch Logs with AWS SDKs. Each example contains a sample application that works across multiple AWS services.
Cross-service examples target an advanced level of experience to help you start building applications.