# Cloudwatch Logs to Elasticsearch using AWS Lambda

**URL:** https://discuss.elastic.co/t/cloudwatch-logs-to-elasticsearch-using-aws-lambda/182956
**Category:** Elasticsearch
**Created:** [May 27, 2019, 6:23pm UTC](https://discuss.elastic.co/t/cloudwatch-logs-to-elasticsearch-using-aws-lambda/182956 "2019-05-27T18:23:38Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![gabriel\_tessier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gabriel_tessier/32/27911_2.png) [@gabriel\_tessier](https://discuss.elastic.co/u/gabriel_tessier)
#### Post date: [May 28, 2019, 8:51am UTC](https://discuss.elastic.co/t/cloudwatch-logs-to-elasticsearch-using-aws-lambda/182956/2 "2019-05-28T08:51:27Z")

</div>

Hi,

You can check this project: [https://github.com/DataDog/datadog-serverless-functions/tree/master/aws/logs\_monitoring](https://github.com/DataDog/datadog-serverless-functions/tree/master/aws/logs_monitoring)

From the discussion here: [Add a field to json body when indexing](https://discuss.elastic.co/t/add-a-field-to-json-body-when-indexing/180339/8)

---

_[View the full topic](https://discuss.elastic.co/t/cloudwatch-logs-to-elasticsearch-using-aws-lambda/182956)._
