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 :
extract the id of the container from the path of it's logfile
call the docker api to get metadata with
put those metadata into fields
Since I don't have any Ruby background, I'm struggling to adapt the code and to test it.
Any help would be welcome.