# Aws Cloudwatch ELB metrics with more than one dimension do not have aws.tags field

**URL:** <https://discuss.elastic.co/t/aws-cloudwatch-elb-metrics-with-more-than-one-dimension-do-not-have-aws-tags-field/230066>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 28, 2020, 3:02am UTC](https://discuss.elastic.co/t/aws-cloudwatch-elb-metrics-with-more-than-one-dimension-do-not-have-aws-tags-field/230066 "2020-04-28T03:02:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinkwge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/martinkwge/32/59107_2.png) [@martinkwge](https://discuss.elastic.co/u/martinkwge)\
**Post date:** [April 28, 2020, 3:02am UTC](https://discuss.elastic.co/t/aws-cloudwatch-elb-metrics-with-more-than-one-dimension-do-not-have-aws-tags-field/230066/1 "2020-04-28T03:02:41Z")

</div>

```auto
metricbeat.modules:
- module: aws
  period: 300s
  metricsets:
    - cloudwatch
  metrics:
    - namespace: AWS/NetworkELB
      statistic: ["Maximum"]
      name: ["UnHealthyHostCount"]
      tags.resource_type_filter: elasticloadbalancing
    - namespace: AWS/NetworkELB
      statistic: ["Average"]
      name: ["NewFlowCount"]
      tags.resource_type_filter: elasticloadbalancing

```

metric event debug log:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/0/405d80257a12be773fb08385b28ded53562ae32a.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/2/02f01e3b56e1f7ed135b529b852611824726f06e.png)

with the example, `UnHealthyHostCount` metric cloud have two or three dimensions, `LoadBalancer + TargetGroup` or `LoadBalancer + TargetGroup + AvailabilityZone`, and metricbeat event does not have `aws.tags` field.

`NewFlowCount` metric can be queried by only one dimension `LoadBalancer`, then metricbeat event has aws.tags fields. Aws resource tags is import for analysis or search purpose . Is this a issue or BUG?

Could anyone help me?

Thanks in advance.

---

<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 26, 2020, 3:02am UTC](https://discuss.elastic.co/t/aws-cloudwatch-elb-metrics-with-more-than-one-dimension-do-not-have-aws-tags-field/230066/2 "2020-05-26T03:02:43Z")

</div>

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