Docker
Collect logs from your Docker images. Configure everything in 5 minutes or less.
  1. 1.
    ​Install Vector on your server.
  2. 2.
    Download Vector configuration for your source:
    wget -O ->> /etc/vector/vector.toml \
    https://logtail.com/vector-toml/docker/YOUR_LOGTAIL_SOURCE_TOKEN
  3. 3.
    Restart Vector:
    systemctl restart vector
  4. 4.
    That's all πŸŽ‰
If you need finer control over which containers' logs end up in Logtail, check the Vector documentation on how to configure the docker_logs source and update your /etc/vector/vector.toml config file accordingly.
Make sure to replaceYOUR_LOGTAIL_SOURCE_TOKEN with your own source token from Logtail.com.
​
Copy link