Collect logs directly from your Kubernetes clusters. Configure everything in 5 minutes or less.
  1. Follow the Vector guideline and set up the Kubernetes integration.

  2. Add the following Logtail sink configuration into your vector-agent.toml

    type = "http"
    inputs = ["kubernetes_logs"]
    uri = "https://in.logtail.com/"
    encoding.codec = "json"
    auth.strategy = "bearer"
    auth.token = "YOUR_LOGTAIL_SOURCE_TOKEN"
  3. Reload Vector configuration and restart it:

    kubectl apply -k .
    kubectl rollout restart -n vector daemonset/vector-agent

    That's all 🎉

Make sure you replace YOUR_LOGTAIL_SOURCE_TOKEN with your own source token from Logtail.com.