Check out Vector for shipping logs from Docker. It might work out for you https://vector.dev/docs/reference/configuration/sources/dock...
I use Podman for all of my container stuff and there are issues with how Podman produces JSON logs
https://github.com/vectordotdev/vector/issues/6807 https://github.com/containers/podman/issues/16317
which needs to get fixed before I can use it for my workloads.