Docker 1.6 introduced Logging Drivers. Using Logging Drivers, you can send stdout and stderr from a container to a variety of destinations, including:
- The json-file format known from previous versions of Docker
- syslog - either to a server over the network, or to the hosts's syslog daemon using unix sockets
- Journald, Fluentd, AWS CloudWatch Logs and a variety of other destinations
Several of these methods can be used to ingest container logs into log management systems.
When selecting a log management system, make sure that it supports collection via the syslog and json-file drivers. You can then collect your machine data in one centralized location for easy troubleshooting and monitoring.
Read more on our blog and sign up for a free trial to try it out for yourself!