Docker provides a powerful Logging feature for containerized applications that allows you to define how the logs should be handled.
In this short article, we will demonstrate how we can take advantage of this, collecting logs from a Docker Container in real time to aggregate them back into an Elasticsearch database. For these purposes, we will introduce Fluent Bit, an open source and lightweight data collector for Linux.
Read more at Fluent Bit.