Interview Prep/Docker/Resource Limits, Health & Reliability

How do you ship container logs to a central system?

IntermediateProductionResource Limits, Health & Reliability
Answer

Options: (1) node agent (Fluent Bit, Vector, Promtail, Filebeat) tailing json-file logs, the most robust; (2) logging driver (awslogs, fluentd, gelf) sending directly; (3) app-level shipping. We prefer agents because drivers can block the app when the endpoint is down unless mode: non-blocking is set.

All Docker questions Roadmap: Docker & containers

More on Resource Limits, Health & Reliability