elastic / elastic/integrations
[docker]: Add support for podman logs
- Dominant language
- Handlebars
- Stars
- 333
- Forks
- 647
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 209
Description
### Integration Name
Docker [docker]
### Dataset Name
logs-docker.container_logs
### Integration Version
2.14.0
### Agent Version
9.0.3
### OS Version and Architecture
Ubuntu 24.04.3 LTS
### User Goal
I want to ship podman container logs over the docker integration, since podman metrics are already supported.
### Existing Features
I see multiple issues here:
- The podman socket seems not compatible to the docker socket from an API point of view to be able to use the "autodiscovery" feature of the integration
- The current docker integration searches under /var/run/docker.sock for the docker socket, and the podman socket is located under /var/run/podman/podman.sock
- It expects the docker logs to be in a specific format, which podman does not support, see [stream.yml for docker](https://github.com/elastic/integrations/blob/main/packages/docker/data_stream/container_logs/agent/stream/stream.yml.hbs) and [podman logdriver options](https://docs.podman.io/en/latest/markdown/podman-create.1.html#log-driver-driver)
### What did you see?
No logs are sent to Elasticsearch
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.