Skip to content
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 event hub input #17649

Closed
jsoriano opened this issue Apr 9, 2020 · 1 comment · Fixed by #17659
Closed

Add support for different Azure Cloud environments in event hub input #17649

jsoriano opened this issue Apr 9, 2020 · 1 comment · Fixed by #17659
Assignees
Labels
enhancement Filebeat Filebeat Team:Platforms Label for the Integrations - Platforms team

Comments

@jsoriano
Copy link
Member

jsoriano commented Apr 9, 2020

There are multiple Azure Cloud environments apart of the public cloud. In principle Filebeat supports custom endpoints in the connection_string, but there is at least a point where it uses the public cloud endpoints explicitly:

leaserCheckpointer, err := storage.NewStorageLeaserCheckpointer(cred, a.config.SAName, a.config.SAContainer, azure.PublicCloud)

Add support for the other environments. Not sure if this can be done automatically by guessing the environment from the endpoint in the connection_string. If not some additional setting will need to be added.

It may be needed to support loading environments from file for hybrid deployments. There is a EnvironmentFromFile() helper for that.

Reported in https://discuss.elastic.co/t/azure-module-error/227210

@jsoriano jsoriano added enhancement Filebeat Filebeat [zube]: Inbox Team:Platforms Label for the Integrations - Platforms team labels Apr 9, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Filebeat Filebeat Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
4 participants