Generating Logs Using the Embedded Metric Format - Amazon CloudWatch

Generating Logs Using the Embedded Metric Format

You can generate embedded metric format logs with the following methods:

  • Generate and send the logs by using the open-sourced client libraries

  • Manually generate the logs, and then use the CloudWatch agent or the PutLogEvents API to send the logs

If you use one of the manual methods, the logs must follow the defined JSON format.