Enrich file source with docker metadata #13283
Replies: 3 comments 2 replies
-
Hi @OrjanPettersen ! Not currently, but would you want to open a feature request? Was this the logstash plugin you were using: https://github.com/itzg/logstash-filter-docker_container ? Or another one? |
Beta Was this translation helpful? Give feedback.
-
Hi Sorry for the late reply. Filebeat has an option to add docker metadata before sending it to logstash. This is what we were using. I don't know what's under the hood though. I'll make a feature request. Thanks for the reply Orjanp |
Beta Was this translation helpful? Give feedback.
-
I can see now that docker_logs are an option as a source. Not sure if it was gone for a while, or I just missed it in the documentation. Saw that a docker source existed before, but it was gone and I didn't see an alternative when I looked at it earlier. I'll have a look at it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Docker is using json-file log driver and are writing logs to the file system. Was using Filebeat earlier and there it was possible to enrich these log files with Docker metadata like container id and container name. Is there a way of doing the same in Vector using source: file?
Or is there maybe a different way of getting docker logs with the possibility to see which container they belong to?
Orjanp
Beta Was this translation helpful? Give feedback.
All reactions