-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated API version in the Metricbeat Azure module Billing set #20758
Comments
Pinging @elastic/integrations-platforms (Team:Platforms) |
@toby-sutor , |
I have created an issue for mapping the |
As discussed offline, from what I found at https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/consumption-api-overview and more specifically here: https://docs.microsoft.com/en-us/partner-center/azure-plan-available it appears that there is no API access available for CSP subscriptions, which has been the case here. Hence the error message we receive is misleading. |
reopening this, the new version 2019-10-01 seems to not support filtering by the usage dates. |
Please fix this... |
When will this get some attention..? This module hasn't worked at all for many months now. You can as well just delete it... |
I still have the same problem any news here ? using Azure Billing Metrics |
thanks all for your patience with this we are now actively working on this - we will update progress here when we have a more concrete timeline for shipping the fix |
Dear @tommyers-elastic |
We are also experiencing this with elastic 7.17 in the cloud |
we are experiencing as well. |
Hey @MohammadBangee @DougBellinger We fixed this issue by upgrading Usage Details API in Beats to version 2019-10-01. Here's the availability of the fix across releases of Beats (Metricbeat) and Elastic Agent:
|
@udaydaayam, which version of Beats are you currently using? |
Hello @tommyers-elastic , We just updated to 7.17.7 and it appears this issue is still not fixed.. When the billing metricset is configured, the following error is logged on metricbeat start:
This has been broken for so long..... |
Really sorry to hear that we spent 2 days upgrading our pr cluster because this thread mentioned it was going to be fixed in 7.16.... |
I am so sorry to hear this. I feel your pain. My apologies for not providing you with more timely updates and precise wording 1. Let me try to help you with the next steps. To discover what's released, you can reference the Beats release notes. For 7.17.x, you can check https://www.elastic.co/guide/en/beats/libbeat/7.17/release-notes.html and check if we included the expected change in a release. In the release notes, you can look for the PR number or the description CHANGELOG.next.asciidoc file. Please contact me if you need any help or have questions. I'll do my best to assist you. Footnotes
|
It seems like we are referencing an outdated API version in the (Beta) Azure module / Billing metricset for Metricbeat.
E.g. in
beats/x-pack/metricbeat/module/azure/billing/client.go
Line 13 in 496e3c9
beats/x-pack/metricbeat/module/azure/billing/service.go
Line 10 in 496e3c9
beats/x-pack/metricbeat/module/azure/billing/data.go
Line 12 in 496e3c9
we’re referring to API version
2019-01-01
but in the Microsoft docs the API version is2019-10-01
.This leads to error:
The text was updated successfully, but these errors were encountered: