Better Stack Amazon EKS logging

Start logging in minutes

The recommended way to send logs, metrics, and traces from your Amazon EKS cluster to Better Stack is the Better Stack collector. It uses eBPF to instrument your cluster without any code changes, and you can manage it remotely from the Better Stack dashboard.

1. Check eBPF support

The collector needs Linux kernel 5.14 or newer for eBPF-based auto-instrumentation. Check that your nodes support the required features:

Check eBPF support
kubectl run -i --rm ebpf-check --image=alpine --restart=Never --privileged=true -- sh -c "apk add --no-cache bash wget -q && \
  wget -qO- https://telemetry.betterstack.com/api/collector/public/ebpf.sh | bash"

2. Install the collector

Add the collector Helm chart and install it:

Add and install Helm chart
helm repo add better-stack https://betterstackhq.github.io/collector-helm-chart
helm repo update
helm install better-stack-collector better-stack/collector \
  --set collector.env.COLLECTOR_SECRET="$COLLECTOR_SECRET"


After installing the collector, restart your services so the eBPF instrumenters can attach correctly.

3. See your data

You should see your logs in Better Stack → Live tail.

Check out pre-generated dashboards for your Hosts and Services.

Advanced configuration

The collector also supports OpenTelemetry traces, automatic database instrumentation, Prometheus scraping, security hardening, and more. See the full Better Stack collector guide for advanced configuration, required permissions, and troubleshooting.

Need help?

Please let us know at hello@betterstack.com.
We're happy to help! 🙏

Additional information

Want an overview of different tools for monitoring Kubernetes?
Head to comparison of best Kubernetes monitoring tools.