# Billing metricset in azure module not working

**URL:** <https://discuss.elastic.co/t/billing-metricset-in-azure-module-not-working/245569>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [August 19, 2020, 9:35am UTC](https://discuss.elastic.co/t/billing-metricset-in-azure-module-not-working/245569 "2020-08-19T09:35:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wadhah](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wadhah](https://discuss.elastic.co/u/wadhah)\
**Post date:** [August 19, 2020, 9:35am UTC](https://discuss.elastic.co/t/billing-metricset-in-azure-module-not-working/245569/1 "2020-08-19T09:35:25Z")

</div>

Hello guys,

I hope you are doing well !

I have ELK stack (7.8.1) deployed in kubernetes along with metricbeat (same version).  
I wanted to exploit the new metricset "billing" in azure module, however it didn't work.

```
- module: azure

      metricsets:

        - billing

      enabled: true

      period: 24h

      client_id: '${AZURE_CLIENT_ID}'

      client_secret: '${AZURE_CLIENT_SECRET}'

      tenant_id: '${AZURE_TENANT_ID}'

      subscription_id: '${AZURE_SUBSCRIPTION_ID}'

```

Just for the record, I have "monitor", "storage" metricsets working fine.

So, I was wondering if you could help me with this issue.

---

<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:** [August 29, 2020, 3:38pm UTC](https://discuss.elastic.co/t/billing-metricset-in-azure-module-not-working/245569/2 "2020-08-29T15:38:38Z")

</div>

Thanks for posting here! Maybe `billing` metricset require some specific permissions? Do you see any error message in Metricbeat logs when running the `billing` metricset?

---

<div class="post-metadata">

**Author:** ![wadhah](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wadhah](https://discuss.elastic.co/u/wadhah)\
**Post date:** [September 4, 2020, 9:05am UTC](https://discuss.elastic.co/t/billing-metricset-in-azure-module-not-working/245569/3 "2020-09-04T09:05:24Z")

</div>

Hello @Kaiyan_Sheng,

Thanks a lot for your response.  
I think it was a matter of the stack's version including metricbeat, as this metricset was introduced in the 7.9 release.

---

<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:** [September 14, 2020, 4:54pm UTC](https://discuss.elastic.co/t/billing-metricset-in-azure-module-not-working/245569/4 "2020-09-14T16:54:47Z")

</div>

Ahh yep! Sorry I missed the stack version on your original question! Yes, billing metricset is added in 7.9 for Metricbeat.

---

<div class="post-metadata">

**Author:** ![wadhah](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wadhah](https://discuss.elastic.co/u/wadhah)\
**Post date:** [September 15, 2020, 8:21am UTC](https://discuss.elastic.co/t/billing-metricset-in-azure-module-not-working/245569/5 "2020-09-15T08:21:33Z")

</div>

Hey @Kaiyan_Sheng thanks for your help, I really appreciate it

---

<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:** [October 13, 2020, 10:22am UTC](https://discuss.elastic.co/t/billing-metricset-in-azure-module-not-working/245569/6 "2020-10-13T10:22:00Z")

</div>

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