# Metric beat unable to detect all metricset from cloudwatch

**URL:** <https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 9, 2020, 8:05pm UTC](https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402 "2020-04-09T20:05:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishek\_Tanwar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhishek_tanwar/32/66041_2.png) [@Abhishek\_Tanwar](https://discuss.elastic.co/u/Abhishek_Tanwar)\
**Post date:** [April 9, 2020, 8:05pm UTC](https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402/1 "2020-04-09T20:05:30Z")

</div>

I want to detect AWS/SES metric set from cloud watch or basically monitor SES metrics via elastic. I tried to configure "\*" namespace but still, it doesn't query all of the namespaces.

I am have tested with 7.5.1 and 7.6.2 as well.

---

<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:** [April 10, 2020, 6:35pm UTC](https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402/2 "2020-04-10T18:35:14Z")

</div>

Hi @Abhishek_Tanwar, thanks for reporting your issue here. Could you share your config file here please? Thanks! I will try to reproduce it on my side too.

---

<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:** [April 10, 2020, 6:46pm UTC](https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402/3 "2020-04-10T18:46:12Z")

</div>

Could you also verify around the timestamp of you have Metricbeat running, there are metrics in CloudWatch under AWS/SES namespace please? Thanks!

---

<div class="post-metadata">

**Author:** ![Abhishek\_Tanwar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhishek_tanwar/32/66041_2.png) [@Abhishek\_Tanwar](https://discuss.elastic.co/u/Abhishek_Tanwar)\
**Post date:** [April 11, 2020, 9:04am UTC](https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402/4 "2020-04-11T09:04:18Z")

</div>

![Screenshot 2020-04-11 at 11.06.56](https://us1.discourse-cdn.com/elastic/original/3X/0/f/0fffae1a2a4ed681121778ca9f7ef947300b5dba.png)

---

<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:** [April 12, 2020, 7:46pm UTC](https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402/5 "2020-04-12T19:46:06Z")

</div>

I assume you are using the shared credential file ~/.aws/credentials default profile name for authentication then? If that's the case, the config looks right!

While running Metricbeat, do you see any metrics under AWS/SES namespace inside CloudWatch portal?

---

<div class="post-metadata">

**Author:** ![Abhishek\_Tanwar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhishek_tanwar/32/66041_2.png) [@Abhishek\_Tanwar](https://discuss.elastic.co/u/Abhishek_Tanwar)\
**Post date:** [April 13, 2020, 4:24am UTC](https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402/6 "2020-04-13T04:24:57Z")

</div>

Yes I can see metrics in cloud watch. There are 4 metrics as standard in AWS/SES.

Regards,

Abhishek Tanwar

---

<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:** [April 13, 2020, 7:24pm UTC](https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402/7 "2020-04-13T19:24:07Z")

</div>

Hmm I still can't reproduce it. Here is what I see in CloudWatch:

 ![Screen Shot 2020-04-13 at 1.17.43 PM](https://us1.discourse-cdn.com/elastic/original/3X/1/3/13db869765069b815b0a78d82e3f7ef8ef5eeffb.png)

and when I start Metricbeat with aws.yml config:

```auto
- module: aws
  period: 5m
  credential_profile_name: elastic-beats
  metricsets:
    - cloudwatch
  metrics:
    - namespace: AWS/SES

```

I got an event:

```auto
{
  "_index": "metricbeat-8.0.0-2020.04.13-000001",
  "_type": "_doc",
  "_id": "dtr4dHEBnhw1ZtvVMsHy",
  "_version": 1,
  "_score": null,
  "_source": {
    "@timestamp": "2020-04-13T19:15:42.328Z",
    "event": {
      "dataset": "aws.cloudwatch",
      "module": "aws",
      "duration": 11090806378
    },
    "metricset": {
      "name": "cloudwatch",
      "period": 300000
    },
    "service": {
      "type": "aws"
    },
    "cloud": {
      "provider": "aws",
      "region": "us-east-1",
      "account": {
        "name": "elastic-beats",
        "id": "428152502467"
      }
    },
    "aws": {
      "ses": {
        "metrics": {
          "Send": {
            "avg": 1,
            "max": 1,
            "min": 1,
            "sum": 1,
            "count": 1
          },
          "Delivery": {
            "count": 1,
            "avg": 1,
            "max": 1,
            "min": 1,
            "sum": 1
          }
        }
      },
      "cloudwatch": {
        "namespace": "AWS/SES"
      }
    }
  },
  "fields": {
    "@timestamp": [
      "2020-04-13T19:15:42.328Z"
    ]
  },
  "sort": [
    1586805342328
  ]
}

```

---

<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:** [April 13, 2020, 7:24pm UTC](https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402/8 "2020-04-13T19:24:53Z")

</div>

Based on the timestamp, there is a delay. Is that might be the issue for you? Or are you seeing any error message from Metricbeat log?

---

<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:** [May 11, 2020, 7:24pm UTC](https://discuss.elastic.co/t/metric-beat-unable-to-detect-all-metricset-from-cloudwatch/227402/9 "2020-05-11T19:24:54Z")

</div>

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