Collect logs directly from your Kubernetes clusters. Configure everything in 5 minutes or less.
  1. 1.
    Follow the Vector guideline and set up the Kubernetes integration.
  2. 2.
    Append a configMapGenerator to your Vector kustomization.yaml file
    - name: vector
    behavior: replace
    - vector-agent.toml
  3. 3.
    Add the following Logtail sink configuration into your vector-agent.toml file
    type = "http"
    inputs = ["kubernetes_logs"]
    uri = ""
    encoding.codec = "json"
    auth.strategy = "bearer"
    auth.token = "YOUR_LOGTAIL_SOURCE_TOKEN"
  4. 4.
    Reload Vector configuration and restart it:
    kubectl apply -k .
    kubectl rollout restart -n vector daemonset/vector
    That's all 🎉
Make sure you replace YOUR_LOGTAIL_SOURCE_TOKEN with your own source token from