Gather logs from podman containers

Hi,

If I understand the documentation correctly the best practice for shipping logs of docker-container is the following:

using container input

- type: container
  stream: stdout
  paths:
    - "/var/log/containers/*.log"

And if I need metadata of the container the processor add_docker_metadata could help:

processors:
      - add_docker_metadata:

But unfortunately I am not able to use docker, I need to use podman in rootless mode.

Is there any way to use the processor with podman to enrich the event with podman's metadata?

Thanks,
Andreas

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.