# The specified log group does not exist. Error when configuring lambda function for cloudwatch logs

**URL:** <https://discuss.elastic.co/t/the-specified-log-group-does-not-exist-error-when-configuring-lambda-function-for-cloudwatch-logs/277193>\
**Category:** Elasticsearch\
**Created:** [June 28, 2021, 9:25am UTC](https://discuss.elastic.co/t/the-specified-log-group-does-not-exist-error-when-configuring-lambda-function-for-cloudwatch-logs/277193 "2021-06-28T09:25:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Origin\_Jing](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/origin_jing/32/90877_2.png) [@Origin\_Jing](https://discuss.elastic.co/u/Origin_Jing)\
**Post date:** [June 28, 2021, 9:26am UTC](https://discuss.elastic.co/t/the-specified-log-group-does-not-exist-error-when-configuring-lambda-function-for-cloudwatch-logs/277193/1 "2021-06-28T09:26:00Z")

</div>

I'm trying to setup the functionbeat aws example. However, I keep getting "ResourceState: CREATE\_FAILED, ResourceStatusReason: The specified log group does not exist. (Service: AWSLogs; Status Code: 400; Error Code: ResourceNotFoundException; Request ID: \*\*\*\*\*)" . I have set environment variables as the guide instructed and I'm sure the log group does exist and I have admin access on our AWS account.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 26, 2021, 9:26am UTC](https://discuss.elastic.co/t/the-specified-log-group-does-not-exist-error-when-configuring-lambda-function-for-cloudwatch-logs/277193/2 "2021-07-26T09:26:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
