Skip to content

Docker example #75

@rukavina

Description

@rukavina

Would it be possible to scan docker log files, eg. with default json driver:
/var/lib/docker/containers/{container_id}/{container_id}-json.log

The problem is that container_id is a dynamic thing, and changes with each container restart. Is there an example about how to solve dynamic log names?

Other way around might be to somehow filter each line. Json line could include a key which defined which container it belongs to.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions