Send data via Kubernetes to your Logstash instance provided by


Ship logs from Kubernetes to Logstash

Step 1 - Download Manifest

Download the filebeat Kubernetes deploy manifest using the link below:

Click to download filebeat-kubernetes.yaml

Step 2 - Insert Stack Details

Open the manifest and around line 76 you should see the environment variables controlling the logging destination. You need to update them to point to your stack.

  value: "your-logstash-host"
- name: BEATS_PORT
  value: "your-port"

Step 3 - Deploy Pod

Now your deployment manifest is updated, you can deploy it using.

kubectl apply -f filebeat-kubernetes.yaml

Step 4 - Confirm Completed Deployment

kubectl --namespace=kube-system get ds/filebeat

kubectl --namespace=kube-system get pods

You should see a pod for each kubernetes node with a name similar to filebeat-abcde listed. The pods should work though from Pending to Running within a couple of minutes as the containers are downloaded and started.

expand view

Expand View

compact view

Compact View

Return to Search
Sign up to get started Return to Search