Shard Detail

k8s-syslog v0.1.0

Ships logs from kubernetes to a syslog server

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development

  github: 84codes/k8s-syslog



Forwards logs from kubernetes to a (udp or tcp+tls) syslog server.

It uses the Kubernetes pod log API to stream the logs from each container in each pod. A ServiceAccount with pod read access is required, but can also use kubectl proxy eg. for local development. See deployment.yml for an example.

An environment variable named SYSLOG_ADDRESS is required, with the format tcp+tls:// or udp://localhost:514 or file:///dev/stdout.