/
DirectorySecurity AdvisoriesPricing
Sign in
Directory
splunk-otel-collector logo

splunk-otel-collector

Last changed

Request a free trial

Contact our team to test out this image for free. Please also indicate any other images you would like to evaluate.

Tags
Overview
Comparison
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for splunk-otel-collector

Splunk OpenTelemetry Collector is a distribution of the OpenTelemetry Collector. It provides a unified way to receive, process, and export metric, trace, and log data for Splunk Observability Cloud

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/splunk-otel-collector:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

splunk-otel-collector is comparable to the splunk-otel-collector (quay.io/signalfx/splunk-otel-collector:latest) image, with the following differences:

  • Like all other Chainguard Images, splunk-otel-collector features a stripped down, minimal design
  • This base image comes with apk and BusyBox and reports as being a Chainguard image.
  • It has few-to-zero CVEs
  • It does not run as the root user
  • This image as currently built does not support the agent bundle plugins

Getting Started

Splunk OpenTelemetry Collector is a distribution of the OpenTelemetry Collector. It provides a unified way to receive, process, and export metric, trace, and log data for Splunk Observability Cloud. Here is an example setup of the collector to ingest metrics from a Redis server.

Requirements

  1. Configuration for the OpenTelemetry Collector deployed with a configMap
  2. Configuration for the Redis server deployed with a configMap

The following is an example otel-collector.yaml configuration file:

apiVersion: v1
kind: ConfigMap
metadata:
  name: otel-config
  namespace: splunk
data:
  otel-collector-config.yaml: |
    receivers:
      redis:
        endpoint: "localhost:6379"
        collection_interval: 10s
        password: $REDIS_PASSWORD
        metrics:
          redis.role:
            enabled: true
          redis.cmd.calls:
            enabled: true
    extensions:
      health_check:
        endpoint: 0.0.0.0:13133
      zpages:
        endpoint: 0.0.0.0:55679
    processors:
      batch:
    exporters:
      signalfx:
        access_token: "token"
        realm: "us0"
      debug:
        verbosity: detailed
    service:
      telemetry:
        metrics:
          address: ":8888"
      pipelines:
        metrics/sfx:
          receivers: [redis]
          processors: [batch]
          exporters: [signalfx]
        metrics/logging:
          receivers: [redis]
          processors: [batch]
          exporters: [debug]

More information can be found in the Otel collector examples folder.

To test out this image, deploy an otel-collector pod in a Kubernetes cluster:

apiVersion: v1
kind: Pod
metadata:
  name: redis-otel-pod
  namespace: splunk
spec:
  serviceAccount: default
  containers:
    - name: redis-db
      image: redis:latest
      command: ["redis-server", "/etc/redis/redis.conf"]
      ports:
        - containerPort: 6379
        - containerPort: 6329
      volumeMounts:
        - name: redis-config
          mountPath: /etc/redis/redis.conf
          subPath: redis.conf

    - name: otelcollector
      image: ${local.parsed.registry}/${local.parsed.repo}:${local.parsed.pseudo_tag}
      args:
        - "--config=/etc/otel-collector-config.yaml"
        - "--set=service.telemetry.logs.level=debug"
      env:
        - name: SPLUNK_ACCESS_TOKEN
          value: "token"
        - name: SPLUNK_REALM
          value: "us0"
        - name: REDIS_PASSWORD
          value: "changeme"
      ports:
        - containerPort: 8088
          name: otel-http
        - containerPort: 8888
          name: otel-grpc
      volumeMounts:
        - name: otel-config
          mountPath: /etc/otel-collector-config.yaml
          subPath: otel-collector-config.yaml

  volumes:
    - name: otel-config
      configMap:
        name: otel-config
    - name: redis-config
      configMap:
        name: otel-config

Ensure that the container is up and running and ensure that the metric counts have been ingested by the collector

kubectl -n splunk logs redis-otel-pod -c otelcollector 2>&1 | \
  grep "Metrics" | head -n 1 | jq -R 'split(",") | \
  map(select(contains("\"metrics\":"))) | map(split(": ")[1] | tonumber) | .[0] > 10'

The test above is to validate that metrics, in the case from a redis container are been collected by the otel collector service.

Documentation and Resources

  1. https://github.com/signalfx/splunk-otel-collector - Main project repository
  2. https://github.com/signalfx/splunk-otel-collector/tree/main/examples - Deployment scenarios
  3. https://github.com/signalfx/splunk-otel-collector-chart - Helm chart
  4. https://docs.splunk.com/observability/en/gdi/opentelemetry/opentelemetry.html

What are Chainguard Containers?

Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.

All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.

The main features of Chainguard Containers include:

For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.

In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.

Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.

Need additional packages?

To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.

To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.

Learn More

Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.

Trademarks

This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.

Licenses

Chainguard container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:

  • AFL-2.1

  • Apache-2.0

  • BSD-1-Clause

  • BSD-2-Clause

  • BSD-3-Clause

  • BSD-4-Clause-UC

  • Bitstream-Vera

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Compliance

A FIPS validated version of this image is available for FedRAMP compliance. STIG is included with FIPS image.


Related images
splunk-otel-collector-fips logoFIPS
splunk-otel-collector-fips

Category
application

Safe Source for Open Sourceâ„¢
Contact us
© 2025 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Product

Chainguard ContainersChainguard LibrariesChainguard VMsIntegrationsPricing