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

Support OpenStack in add_cloud_metadata Processor #7649

Closed
herver opened this issue Jul 20, 2018 · 1 comment
Closed

Support OpenStack in add_cloud_metadata Processor #7649

herver opened this issue Jul 20, 2018 · 1 comment

Comments

@herver
Copy link
Contributor

herver commented Jul 20, 2018

Filebeat version: 6.3.1
Environment: OpenStack Queens

We run filebeat in our Openstack infrastructure and it'd be nice to add support for Openstack in the cloud_metadata processor.

I thought it would work out of the box with the EC2 provider because Openstack provides an AWS-compatible metadata service (https://docs.openstack.org/nova/latest/user/metadata-service.html) but it appears that the EC2 processor uses a different endpoint to get the data (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-identity-documents.html)

I can contribute the provider for OpenStack, but would it make more sense to "fix" the EC2 provider ?

@ruflin
Copy link
Collaborator

ruflin commented Jul 20, 2018

I would suggest to add an openstack provider that probably reuses 99% of the code from the AWS provider. Otherwise I worry users that don't know the two are almost identical they get confused that AWS is loaded but they use open stack.

Would be great if you contribute it.

If we build a separate provider, does AWS still need some fixing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants