Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 731 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 731 Bytes

pipemgr

Send container logs to pipe using a docker image.

See docker-compose.yml to see how to run pipemgr.

To enable, apply the pipemgr label to any service in your docker-compose.yml file:

services:
  httpbin:
    image: kennethreitz/httpbin
    label:
      pipemgr.enable: true

This will send all stdout/stderr from httpbin to pipe or any other SSH service.

filtering

We support regex filtering with the pipemgr.filter label:

services:
  httpbin:
    image: kennethreitz/httpbin
    label:
      pipemgr.enable: true
      pipemgr.filter: "GET.+(404)"

In this example, we will only send log lines with a GET 404 response status.