Hi everyone! I’m looking for the recommended approach to send logs from all containers in a Docker Compose setup (on a VM) to Fluent Bit (running as a container on that same VM). I specifically need to include the container_name in the metadata.
Which of these methods is generally preferred?
1. json-file logging driver + adding labels manually.
2. json-file logging driver + a Lua script to extract container_name.
3. fluentd logging driver + non-blocking mode.
4. journald logging driver.