Docs » Collect infrastructure metrics and logs » Collect Kubernetes data

Collect Kubernetes data 🔗

The Splunk Distribution of OpenTelemetry Collector provides integrated collection and forwarding for all Kubernetes telemetry. Deploy the Collector to gather telemetry for Splunk Infrastructure Monitoring, Splunk APM, or Splunk Log Observer.

The Collector is deployed using a Helm chart for the Splunk Distribution of OpenTelemetry Collector for Kubernetes. In a Kubernetes cluster, the chart creates a Kubernetes DaemonSet as well as other Kubernetes objects. These objects collect the following for the cluster:

  • Metrics for Infrastructure Monitoring

  • Traces for APM

  • Logs for Log Observer

Supported versions 🔗

This Kubernetes solution has been validated in Kubernetes environments that use Minikube, Amazon Elastic Kubernetes Service (Amazon EKS), and Google Kubernetes Engine.

Start the integration 🔗

To start a Kubernetes integration, follow these steps:

  1. Log in to Splunk Observability Cloud.

  2. Open the Kubernetes guided setup . Optionally, you can navigate to the guided setup on your own:

    1. In the navigation menu, select Data Management to open the Integrate Your Data page.

    2. Select Kubernetes.

    3. Select Add Connection. The integration guided setup appears.

  3. Follow the steps in the guided setup.

Advanced install 🔗

For advanced installation instructions, see Install the Collector for Kubernetes.

This includes how to configure the destination for the Collector: Splunk Enterprise or Splunk Cloud (splunkPlatform) or Splunk Observability Cloud (splunkObservability).

Check access tokens 🔗

Access tokens are organization-level tokens that, by default, are valid for one year. For access tokens created prior to February 28, 2022, the expiration date remains 5 years from the creation date. You must use an org token to authenticate emitters that send data points to Splunk Observability Cloud. You can use an org token in long-running scripts that call the API. For more information, see Create and manage organization access tokens using Splunk Observability Cloud.

Next steps 🔗