#
# docker host metrics and container logs
#
[INPUT]
name docker
interval_sec 3600
tag docker
[INPUT]
name tail
path /var/lib/docker/containers/*/*.log
docker_mode on
parser json
tag docker
[OUTPUT]
name file
match docker
path /var/log
file fluent-bit.OUTPUT.log
https://docs.fluentbit.io/manual/pipeline/inputs/docker-metrics
https://docs.fluentbit.io/manual/pipeline/inputs/tail#docker_mode