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:
    1
    wget -O ->> /etc/vector/vector.toml \
    2
    https://logtail.com/vector-toml/docker/YOUR_LOGTAIL_SOURCE_TOKEN
    Copied!
  3. 3.
    Restart Vector:
    1
    systemctl restart vector
    Copied!
  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.
​
Last modified 5mo ago
Copy link