Skip to main content

Kubernetes

Oodle provides a seamless integration with Kubernetes to ingest logs from your Kubernetes clusters.

Logs

Configuration

To configure Oodle to ingest logs from your Kubernetes cluster, you'll need the following values:

  • OODLE_INSTANCE: Your Oodle instance ID
  • OODLE_API_KEY: Your Oodle API key for authentication
  • OODLE_ENDPOINT: The Oodle endpoint URL for log ingestion

Using Vector

If you are using Vector to collect and ship logs, you can use the following configuration:

sinks:
oodle:
type: http
inputs: [ <sources...> ]
uri: https://<OODLE_ENDPOINT>/ingest/v1/logs
encoding:
codec: json
compression: gzip
headers:
X-OODLE-INSTANCE: "<OODLE_INSTANCE>"
X-API-KEY: "<OODLE_API_KEY>"
request:
retry_attempts: 3
timeout_secs: 60

Using AWS for Fluent Bit Helm Chart

If you are running on Elastic Kubernetes Service (EKS) and are using AWS for Fluent Bit Helm Chart collector to collect and ship logs, you can use the following configuration:

additionalOutputs: |
[OUTPUT]
Name http
Match *
Host <OODLE_ENDPOINT>
Port 443
URI /ingest/v1/logs
Header X-OODLE-INSTANCE <OODLE_INSTANCE>
Header X-API-KEY <OODLE_API_KEY>
Format json
Compress gzip
Json_date_key timestamp
Json_date_format iso8601
TLS On

Kubernetes Events

Oodle provides a seamless integration to ingest Kubernetes events from your Kubernetes clusters.

Configuration

You can use kubernetes-event-exporter and configure it to send Kubernetes events to Oodle.

  1. Create a values.yaml file with below configuration:
values.yaml
config:
logLevel: info
logFormat: pretty
route:
routes:
- match:
- receiver: "oodle"

receivers:
- name: "oodle"
webhook:
endpoint: "https://<OODLE_ENDPOINT>/ingest/v1/logs"
headers:
X-OODLE-INSTANCE: "<OODLE_INSTANCE>"
X-API-KEY: "<OODLE_API_KEY>"
  1. Install kubernetes-event-exporter via below helm command:
helm upgrade \
--install kubernetes-event-exporter oci://registry-1.docker.io/bitnamicharts/kubernetes-event-exporter \
-n oodle-monitoring --create-namespace \
--values values.yaml

Support

If you need assistance or have any questions, please reach out to us through:

  • The help chat widget in the bottom-right corner of this page
  • Email at support@oodle.ai