# No Data for Metricbeat AWS billing estimated charges

**URL:** <https://discuss.elastic.co/t/no-data-for-metricbeat-aws-billing-estimated-charges/272132>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [May 5, 2021, 5:13am UTC](https://discuss.elastic.co/t/no-data-for-metricbeat-aws-billing-estimated-charges/272132 "2021-05-05T05:13:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sathish22](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@Sathish22](https://discuss.elastic.co/u/Sathish22)\
**Post date:** [May 5, 2021, 5:13am UTC](https://discuss.elastic.co/t/no-data-for-metricbeat-aws-billing-estimated-charges/272132/1 "2021-05-05T05:13:22Z")

</div>

Dear Team,

We have configured Metricbeat with AWS module for AWS billing metrics PFB configuration

```
- module: aws
  period: 24h
  metricsets:
    - billing
  role_arn: xxxxxxxxxxxxxxxx
  cost_explorer_config:
    group_by_dimension_keys:
      - "AZ"
      - "INSTANCE_TYPE"
      - "SERVICE"
      - "LINKED_ACCOUNT"
      - "OPERATION"
      - "PURCHASE_TYPE"
      - "REGION"
      - "USAGE_TYPE"
      - "USAGE_TYPE_GROUP"
      - "RECORD_TYPE"
      - "OPERATING_SYSTEM"
      - "TENANCY"
      - "SCOPE"
      - "PLATFORM"
      - "SUBSCRIPTION_ID"
      - "LEGAL_ENTITY_NAME"
      - "DEPLOYMENT_OPTION"
      - "DATABASE_ENGINE"
      - "CACHE_ENGINE"
      - "INSTANCE_TYPE_FAMILY"
      - "BILLING_ENTITY"
      - "RESERVATION_ID"
    group_by_tag_keys:
      - "aws:createdBy"

```

and also tried configuration file as

```
- module: aws
  period: 24h
  metricsets:
    - billing
  role_arn: xxxxxxxxxxxxxxxx
  cost_explorer_config:
    group_by_dimension_keys:
      - "AZ"
      - "INSTANCE_TYPE"
      - "SERVICE"
    group_by_tag_keys:
      - "aws:createdBy"

```

By using the above YAML configuration we can see data only for blended, unblended & Amortized cost but not for estimated charges.

Can you please help, how to get estimated charges?

Thanks,  
Sathish Thumma.

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [May 6, 2021, 8:09am UTC](https://discuss.elastic.co/t/no-data-for-metricbeat-aws-billing-estimated-charges/272132/2 "2021-05-06T08:09:10Z")

</div>

Hi @Sathish22, I cannot spot any obvious issue with the config here. @Kaiyan_Sheng any ideas of what is missing here?

---

<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:** [May 6, 2021, 4:05pm UTC](https://discuss.elastic.co/t/no-data-for-metricbeat-aws-billing-estimated-charges/272132/3 "2021-05-06T16:05:00Z")

</div>

Hi @Sathish22 in your config I see you added `group_by_tag_keys` with `aws:createdBy`. Do you see this exact tag in Cost Explorer?

---

<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:** [June 3, 2021, 4:05pm UTC](https://discuss.elastic.co/t/no-data-for-metricbeat-aws-billing-estimated-charges/272132/4 "2021-06-03T16:05:10Z")

</div>

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