This integration uses Filebeat in a Docker container to forward logs from Amazon Elastic Container Service (ECS) to

To use docker-collector-logs, you’ll set environment variables when you run the container. The Docker logs directory and docker.sock are mounted to the container, allowing Filebeat to collect the logs and metadata.

Deploy the Docker collector

Pull the Docker image

Download the logzio/docker-collector-logs image.

docker pull logzio/docker-collector-logs
Run the Docker image

For a complete list of options, see the parameters below the code block. 👇

docker run -d --name=docker-collector-logs \
--env LOGZIO_URL="<<LISTENER-HOST>>:5015" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/docker/containers:/var/lib/docker/containers \
Parameter Description
LOGZIO_TOKEN Your account token. Replace <<SHIPPING-TOKEN>> with the token of the account you want to ship to.
LOGZIO_URL Your listener URL and port. Replace <<LISTENER-HOST>> with your region’s listener host (for example, For more information on finding your account’s region, see Account region.
Check for your logs

Give your logs some time to get from your system to ours, and then open Kibana.