# Metricbeat is getting failed when we enable aws metricbeat moulde

**URL:** <https://discuss.elastic.co/t/metricbeat-is-getting-failed-when-we-enable-aws-metricbeat-moulde/315434>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 29, 2022, 7:46am UTC](https://discuss.elastic.co/t/metricbeat-is-getting-failed-when-we-enable-aws-metricbeat-moulde/315434 "2022-09-29T07:46:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)\
**Post date:** [October 4, 2022, 3:07pm UTC](https://discuss.elastic.co/t/metricbeat-is-getting-failed-when-we-enable-aws-metricbeat-moulde/315434/3 "2022-10-04T15:07:32Z")

</div>

Could you maybe try a sub set of your config in aws.yml please? The error message looks like a config issue.

> [@samadhan](#):
>
> ```auto
> - module: aws
> period: 5m
> metricsets:
> - cloudwatch
> metrics:
> - namespace: AWS/EC2
> 
> ```

---

_[View the full topic](https://discuss.elastic.co/t/metricbeat-is-getting-failed-when-we-enable-aws-metricbeat-moulde/315434)._
