You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Problem
After a restart of the docker.service on the server vector stop collecting logs from docker containers.
Normal info logs:
Jan 22 11:45:31 1.docker.staging vector[2053868]: 2024-01-22T10:45:31.887824Z INFO source{component_kind="source" component_id=src_docker component_type=docker_logs}: vector::internal_events::docker_logs: Stopped watching for container logs. container_id=6632c9fc1432046515db508b1082e13d22ae3e167bae87ed04d9bbd771c628a7
Jan 22 11:45:31 1.docker.staging vector[2053868]: 2024-01-22T10:45:31.887898Z INFO source{component_kind="source" component_id=src_docker component_type=docker_logs}: vector::internal_events::docker_logs: Started watching for container logs. container_id=6632c9fc1432046515db508b1082e13d22ae3e167bae87ed04d9bbd771c628a7
Jan 22 11:45:33 1.docker.staging vector[2053868]: 2024-01-22T10:45:33.740472Z INFO source{component_kind="source" component_id=src_docker component_type=docker_logs}: vector::internal_events::docker_logs: Stopped watching for container logs. container_id=25fac86600490d04f6b3ef2ab980b3e97765e8002f5b3aa56c5ef45b1414e0d0
Jan 22 11:45:33 1.docker.staging vector[2053868]: 2024-01-22T10:45:33.740543Z INFO source{component_kind="source" component_id=src_docker component_type=docker_logs}: vector::internal_events::docker_logs: Started watching for container logs. container_id=25fac86600490d04f6b3ef2ab980b3e97765e8002f5b3aa56c5ef45b1414e0d0
Jan 22 11:45:39 1.docker.staging vector[2053868]: 2024-01-22T10:45:39.740111Z ERROR source{component_kind="source" component_id=src_docker component_type=docker_logs}: vector::internal_events::docker_logs: Error in communication with Docker daemon. error=IOError { err: Custom { kind: Other, error: "error reading a body from connection: unexpected EOF during chunk size line" } } error_type="connection_failed" stage="receiving" container_id=None internal_log_rate_limit=true
Jan 22 11:45:45 1.docker.staging vector[2053868]: 2024-01-22T10:45:45.694472Z ERROR source{component_kind="source" component_id=src_docker component_type=docker_logs}: vector::internal_events::docker_logs: Internal log [Error in communication with Docker daemon.] is being suppressed to avoid flooding.
Jan 22 11:45:45 1.docker.staging vector[2053868]: 2024-01-22T10:45:45.694501Z INFO source{component_kind="source" component_id=src_docker component_type=docker_logs}: vector::internal_events::docker_logs: Stopped watching for container logs. container_id=6632c9fc1432046515db508b1082e13d22ae3e167bae87ed04d9bbd771c628a7
Jan 22 11:45:45 1.docker.staging vector[2053868]: 2024-01-22T10:45:45.695436Z INFO source{component_kind="source" component_id=src_docker component_type=docker_logs}: vector::internal_events::docker_logs: Stopped watching for container logs. container_id=25fac86600490d04f6b3ef2ab980b3e97765e8002f5b3aa56c5ef45b1414e0d0
Configuration
sources:
# system logs by journald
src_journald:
type: "journald"
exclude_units:
- "vector.service"
# docker container logs
src_docker:
type: docker_logs
# exclude transforms and sinks because they contain sensitive information.
Thanks for filing this. I think it is a duplicate of #16806 so I'll roll it into that, but feel free to follow that issue instead / leave additional details there.
A note for the community
Problem
After a restart of the
docker.service
on the server vector stop collecting logs from docker containers.Normal info logs:
Configuration
Version
vector 0.35.0 (x86_64-unknown-linux-gnu e57c0c0 2024-01-08 14:42:10.103908779)
Debug Output
Example Data
No response
Additional Context
OS: Ubuntu 22.04.3 LTS
docker --version
Docker version 25.0.0, build e758fe5
We run docker in swarm mode.
References
No response
The text was updated successfully, but these errors were encountered: