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

Modify add_docker_metadata processor to lookup ContainerId from source path in case of filebeat #4496

Closed
wants to merge 2 commits into from

Conversation

shyamradhakrishnan
Copy link

The add_docker_metadata processor cannot work with Filebeat because in typical docker json logs, the container id is not present. This change is to lookup the ContainerId from the source path,similar to Kubernetes processor. Being a newbie in go, please excuse if some of the usages are not per go coding standards. The solution is to basically make the "matching" for ContainerId pluggable and use a different implementation for filebeat.

@elasticmachine
Copy link
Collaborator

Can one of the admins verify this patch?

@exekias
Copy link
Contributor

exekias commented Jun 13, 2017

Hi @shyamradhakrishnan, how unfortunate, just today, some hours ago, I opened this one #4495

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically on build-eu-00. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@shyamradhakrishnan
Copy link
Author

shyamradhakrishnan commented Jun 13, 2017 via email

@exekias
Copy link
Contributor

exekias commented Jun 13, 2017

If you feel that #4495 fills your needs we can close this one, anyway I'm happy to discuss the implementation there :)

Also thank you for contributing, I would like to encourage you to keep doing it 👍

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

Successfully merging this pull request may close these issues.

3 participants