Skip to content

Metricbeat-7.16.2 does not support billing api version 2019-10-01 #29928

@adhiraj-g

Description

@adhiraj-g

I had upgraded to Elasticsearch version 7.16-2.
I am now using metricbeat version 7.16.2. Still its showing that the billing api is not supported. Are we using API-version: 2019-10-01 in this version or below?

2022-01-05T07:02:52.470-0500 ERROR module/wrapper.go:259 Error fetching data for metricset azure.billing: error retrieving usage information: Retrieving usage details failed in client: consumption.UsageDetailsClient#List: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="400" Message="Subscription scope usage is not supported for current api version. Please use api version after 2019-10-01
I tried testing on Azure to confirm whether the subscription type i'm using is supported with the consumption API. It worked fine there.

As checked on the elastic search forum - Link this seems like a bug. Hence raising an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions