Start your 14-day free trial today

No Credit Card Required

Try Free

Already have an account? Sign In

Send data via Azure Kubernetes Logs to your Logstash instance provided by

Azure Kubernetes Logs

Collect and ship Azure Kubernetes container logs to Logstash and Elasticsearch.

Filebeat is a lightweight shipper that helps you monitor Azure Kubernetes Service by collecting logs from the containers running on the host system. Configure Filebeat using the pre-defined examples below to collect and ship Azure Kubernetes logs to Logstash or Elasticsearch.

Step 1 - Download Filebeat Manifest FileCopy

Download the filebeat kubernetes deployment manifest using the link below:

Click to download filebeat-kubernetes.yaml

To do this on your Azure Cluster you can use the following command in the Azure Cloud Shell terminal.


Step 2 - Insert stack detailsCopy

Now you have the manifest you're going to want to add your Stack details. Open the file in a text editor.

Locate the environment variables controlling the logging destination and enter your Stacks Logstash input information.

You need to change the environment variables around lines 54.

No input available! Your Stack is missing the required input for this data source Talk to support to add the input

Step 3 - Deploy Filebeat podCopy

Now your Filebeat deployment manifest is updated with your Stack details, you can deploy it using the following command in Azure Cloud Shell:

kubectl apply -f filebeat-kubernetes.yaml

Step 4 - Confirm deployment succesfulCopy

Confirm that your pod has successfully been deployed using one or all of the following commands in Azure Cloud Shell:

kubectl get po -A

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.

Step 5 - how to diagnose no data in StackCopy

If you don't see data appearing in your Stack after following the steps, visit the Help Centre guide for steps to diagnose no data appearing in your Stack or Chat to support now.

Toggle View

Expand View

Return to Search

© 2023 Ltd, All rights reserved.