-
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
Add support for different Azure Cloud environments in Metricbeat #20988
Labels
Comments
botelastic
bot
added
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Sep 4, 2020
Pinging @elastic/integrations-platforms (Team:Platforms) |
botelastic
bot
removed
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Sep 4, 2020
I'm curious is their a short term workaround to change the endpoint to something other than public azure endpoint in metricbeat? |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Metricbeat Azure module currently does not have an option to override the resource manager endpoint or the active directory endpoint.
Example:
Attempting to use Metricbeat Azure module against Azure Govcloud results in:
failed to retrieve resources: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/{SUBSCRIPTION_ID}/resources?%24filter=resourceType+eq+%27Microsoft.ContainerInstance%2FcontainerGroups%27&api-version=2019-03-01: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_request","error_description":"AADSTS900439: Confidential Client requests are not supported on the public endpoint (login.microsoftonline.com) for tenants in the Azure Government cloud. Send your login requests to https://login.microsoftonline.us instead. Please see https://devblogs.microsoft.com/azuregov/azure-government-aad-authority-endpoint-update/ for more details}
Currently we have a way to control the endpoint in Filebeat via: resource_manager_endpoint would be great to have a similar option in Metricbeat.
The text was updated successfully, but these errors were encountered: