Oracle Kubernetes Engine
Ship Oracle Kubernetes Engine container logs to your hosted Logstash instance at Logit.io
Filebeat is a lightweight shipper that enables you to send your OKE logs to Logstash and Elasticsearch. Configure Filebeat using the pre-defined examples below to start sending and analysing your OKE logs.
Follow this step by step guide to get 'logs' from your system to Logit.io:
Step 1 - Download Manifest
Download the filebeat Oracle Kubernetes Engine deploy manifest using the link below:
Step 2 - Insert Stack Details
Open the manifest and around line 57 you should see the environment variables controlling the logging destination. You need to update them to point to your stack.
Step 3 - Deploy Pod
Now your deployment manifest is updated, you can deploy it using.
kubectl apply -f filebeat-kubernetes-oke.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.
Step 5 - Check Logit.io for your logs
Now you should view your data:
If you don't see logs take a look at How to diagnose no data in Stack below for how to diagnose common issues.
Step 6 - how to diagnose no data in Stack
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.