Step 1 - Download Kubernetes deploy manifest

Download the filebeat kubernetes deploy manifest using the link below:

Click to download filebeat-kubernetes.yaml

Step 2 - Insert your 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.

env:
- name: LOGSTASH_HOST
  value: "your-logstash-host"
- name: BEATS_PORT
  value: "your-port"
Step 3 - Deploy your pod

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

kubectl apply -f filebeat-kubernetes.yaml
Step 4 - Confirm the deployment has completed
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.

Ready to get going?

Try our 14 day free trial

No commitment and no catches

Create Free Trial