cloudfoundry-attic / loggregator-k8s-deployment

A deployment of loggregator on kubernetes
6 stars 3 forks source link

Support systemd /dev/log #10

Open jasonkeene opened 6 years ago

jasonkeene commented 6 years ago

Systemd provides a socket /dev/log that is intended to be written to via UDP/syslog to send logs into the systemd journal. If containers write to this we should capture it and forward it into loggregator.

It seems like there is a systemd source gem here: https://github.com/reevoo/fluent-plugin-systemd

@dprotaso requested this feature.

jasonkeene commented 6 years ago

@dprotaso Do folks normally mount the host /dev/log inside the container as /dev/log? Is there some form of an isolated /dev/log that prevents containers from writing any message as if they are on the host?

cf-gitbot commented 6 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/158367465

The labels on this github issue will be updated when the story is started.