diff --git a/doc_source/services-cloudwatchlogs.md b/doc_source/services-cloudwatchlogs.md index 9ce8656e..af8660ab 100644 --- a/doc_source/services-cloudwatchlogs.md +++ b/doc_source/services-cloudwatchlogs.md @@ -2,9 +2,9 @@ You can use a Lambda function to monitor and analyze logs from an Amazon CloudWatch Logs log stream\. Create [subscriptions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/Subscriptions.html) for one or more log streams to invoke a function when logs are created or match an optional pattern\. Use the function to send a notification or persist the log to a database or storage\. -CloudWatch Logs invokes your function asynchronously with an event that contains encoded log data\. +CloudWatch Logs invokes your function asynchronously with an event that contains Base64 encoded and Zip compressed log data\. -**Example Amazon CloudWatch Logs Message Event** +**Example Amazon CloudWatch Logs Message Event** ``` { @@ -14,9 +14,9 @@ CloudWatch Logs invokes your function asynchronously with an event that contains } ``` -When decoded, the log data is a JSON document with the following structure\. +When decoded and decompressed, the log data is a JSON document with the following structure\. -**Example Amazon CloudWatch Logs Message Data \(decoded\)** +**Example Amazon CloudWatch Logs Message Data \(decoded\)** ``` { @@ -37,4 +37,4 @@ When decoded, the log data is a JSON document with the following structure\. } ``` -For a sample application that uses CloudWatch Logs as a trigger, see [Error Processor Sample Application for AWS Lambda](sample-errorprocessor.md)\. \ No newline at end of file +For a sample application that uses CloudWatch Logs as a trigger, see [Error Processor Sample Application for AWS Lambda](sample-errorprocessor.md)\.