Manually generating embedded metric format logs
To send embedded metric format logs that you have manually created, you can use the PutLogEvents API or the CloudWatch agent.
If you use either of these methods, you must follow the embedded metric format specification.