Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Adding more metadata to forward logs #3

Open
DrPyser opened this issue Jul 15, 2020 · 0 comments
Open

Adding more metadata to forward logs #3

DrPyser opened this issue Jul 15, 2020 · 0 comments

Comments

@DrPyser
Copy link

DrPyser commented Jul 15, 2020

Hi!
Thanks for this plugin, my team is using it as part of our logging pipeline

I was wondering if there was a way to add more metadata to log records before sending them to fluentd?
For example, container labels, or any container/service/stack/node information available from the API.
Currently, only timestamp, log, container_id and container_name fields seem to be included.
Maybe this is something that can be addressed "upstream" in the logspout project directly?
I've created an issue there too: gliderlabs/logspout#483.

If doing so would require modifying the code, I'm open to trying my hands at it eventually(I haven't coded in go yet, but it seems like a nice language), and submitting a PR, if I can get some pointers on what would need to be done.

Thanks again!

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

No branches or pull requests

1 participant