Oracle Kubernetes Engine

Oracle Kubernetes Engine

Ship Oracle Kubernetes Engine container logs to your hosted Logstash instance at Logit.io

Follow the steps below to send your observability data to Logit.io

Logs

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.

Install Integration

Please click on the Install Integration button to configure your stack for this source.

Download Manifest

Download the filebeat Oracle Kubernetes Engine deploy manifest using the link below:

Click to download filebeat-kubernetes-oke.yaml (opens in a new tab)

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.

env:
- name: LOGSTASH_HOST
  value: "@logstash.host"
- name: BEATS_PORT
  value: "@logstash.sslPort"

Deploy Pod

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

kubectl apply -f filebeat-kubernetes-oke.yaml

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.

Check Logit.io for your logs

Data should now have been sent to your Stack.

View My Data

If you don't see take a look at How to diagnose no data in Stack below for how to diagnose common issues.

How to diagnose no data in Stack

If you don't see data appearing in your stack after following this integration, take a look at the troubleshooting guide for steps to diagnose and resolve the problem or contact our support team and we'll be happy to assist.