Docs » Get started with the Splunk Distribution of OpenTelemetry Collector » Install the Collector

Install the Collector 🔗

The Splunk Distribution of OpenTelemetry Collector is supported on Kubernetes, Linux, and Windows. Deploy one of the following packages to gather data for Infrastructure Monitoring, APM, and Log Observer:

  • Splunk Distribution of OpenTelemetry Collector for Kubernetes or splunk-otel-collector-chart. See Install on Kubernetes.

  • Splunk Distribution of OpenTelemetry Collector for Linux or splunk-otel-collector. See Install on Linux.

  • Splunk Distribution of OpenTelemetry Collector for Windows or splunk-otel-collector. See Install on Windows.

Components of the Collector 🔗

The Collector uses the components listed in the following table:

Component

Description

Receivers

Get data into the Collector using receivers. Receivers, which can be push or pull based, support one or more data sources. You must configure one or more receivers. By default, no receivers are configured.

Processors

Control the data you send using processors. Processors sit between receivers and exporters, reading and sometimes operating on data as it flows through the pipeline. Processors are optional, but you should include processors in your configuration. The order in which processors are listed in the processors section of the configuration is relevant.

Exporters

Send data to one or more destinations using exporters. Exporters, which can be push or pull based, support one or more data sources.

To learn more about Collector components, see Components.

When configured, enable these components using pipelines within the service section of the configuration.

Collector service 🔗

The service section of the Collector contains two subsections: extensions and pipelines. The extensions section is where you optionally enable any extensions you have configured, and the pipelines section is where you define one or more pipelines, each of which consists of receivers, processors (optional), and exporters. The service section’s two subsections are described in the following table.

Component

Description

Extension

Provide capabilities that can be added to the Collector, but which do not require direct access to telemetry data and are not part of pipelines.

Pipeline

Pipelines can be traces, metrics, or logs. Pipelines consist of a set of receivers, processors, and exporters. Each receiver, processor, and exporter must be defined in the configuration outside of the service section to be included in a pipeline.

Here’s an example configuration:

receivers:
  otlp:
    protocols:
      grpc:
      http:

processors:
  batch:

exporters:
  otlp:
    endpoint: otelcol:4317

extensions:
  health_check:
  pprof:
  zpages:

service:
  extensions: [health_check,pprof,zpages]
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp]
    metrics:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp]
    logs:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp]