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

new filter plugin : docker metadata #3494

Closed
tgermain opened this issue Jun 23, 2015 · 2 comments
Closed

new filter plugin : docker metadata #3494

tgermain opened this issue Jun 23, 2015 · 2 comments

Comments

@tgermain
Copy link

Hi,

I'm trying to adapt this fluentd filter (https://github.com/fabric8io/fluent-plugin-docker_metadata_filter) into a logstash filter.

It does not seam really hard. The plugin basically do :

  1. extract the id of the container from the path of it's logfile
  2. call the docker api to get metadata with Docker::Container.get(container_id).info
  3. put those metadata into fields

Since I don't have any Ruby background, I struggle adapt the code.

Any help would be welcome.

@untergeek
Copy link
Member

A request for help such as this should go to https://discuss.elastic.co/c/logstash

@suyograo
Copy link
Contributor

Getting metadata from docker is now supported in filebeat.

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

3 participants