Collect Kubernetes data
Integrate Kubernetes metrics and logs with Splunk Observability Cloud.
The Splunk Distribution of the OpenTelemetry Collector provides integrated collection and forwarding for all Kubernetes telemetry, such as metrics, APM traces, and logs, to Splunk Observability Cloud.
By default, the Collector for Kubernetes is deployed using a Helm chart. In a Kubernetes cluster, the chart creates a Kubernetes DaemonSet as well as other Kubernetes objects.
Supported versions
This Kubernetes solution has been validated in Kubernetes environments that use Minikube, Amazon Elastic Kubernetes Service (Amazon EKS), and Google Kubernetes Engine. See more details at Supported Kubernetes distributions.
Install the Collector for Kubernetes
To start the Kubernetes integration, follow these steps:
-
Log in to Splunk Observability Cloud.
-
Open the Kubernetes guided setup . Optionally, you can navigate to the guided setup on your own:
-
In the navigation menu, select Data Management.
-
Go to the Available integrations tab, or select Add Integration in the Deployed integrations tab.
-
Select Kubernetes.
-
Select Add Connection. The integration guided setup appears.
-
-
Follow the steps in the guided setup.
Advanced install
For advanced installation instructions, see Install the Collector for Kubernetes using Helm.
This includes details about:
-
Setting the destination for the Collector to Splunk Enterprise or Splunk Cloud Platform (
splunkPlatform
) or Splunk Observability Cloud (splunkObservability
), including information about HEC endpoints
Check your 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.
Learn more
-
See how to send Kubernetes logs and events in Collect logs and events with the Collector for Kubernetes.
-
Troubleshoot Collector issues. See Troubleshoot the Collector.
-
Troubleshoot Kubernetes and container issues. See General troubleshooting for the Collector for Kubernetes.
-
For a list of host and application monitors, see Supported integrations in Splunk Observability Cloud.