Migrate from Splunk Observability Cloud to Logfire
Splunk Observability Cloud is fed by the Splunk Distribution of the OpenTelemetry Collector, which exports through the sapm (traces) and signalfx (metrics) exporters — and often splunk_hec for logs — to a realm-based ingest endpoint, authenticated with an access token. Those are Splunk-specific exporters wrapped around standard OpenTelemetry data, so migrating to Logfire means swapping them for an otlphttp exporter — see Migrate to Logfire for the general shape.
You’ll need a Logfire write token and your region endpoint (https://logfire-us.pydantic.dev or -eu).
Replace the Splunk exporters with one that targets Logfire, and reference it from each pipeline. Your receivers and processors don’t change.
exporters:
# remove (or keep alongside during cutover):
# sapm: # traces
# access_token: "${env:SPLUNK_ACCESS_TOKEN}"
# endpoint: "https://ingest.<realm>.signalfx.com/v2/trace"
# signalfx: # metrics
# access_token: "${env:SPLUNK_ACCESS_TOKEN}"
# realm: "<realm>"
# splunk_hec: # logs (and splunk_hec/profiling, if present)
# token: "${env:SPLUNK_HEC_TOKEN}"
# endpoint: "https://<splunk-host>:8088/services/collector"
otlphttp/logfire:
endpoint: "https://logfire-us.pydantic.dev" # or https://logfire-eu.pydantic.dev
headers:
Authorization: "Bearer ${env:LOGFIRE_TOKEN}"
service:
pipelines:
traces:
exporters: [otlphttp/logfire]
metrics:
exporters: [otlphttp/logfire]
logs:
exporters: [otlphttp/logfire]
If your services export OpenTelemetry Protocol (OTLP) straight to the Splunk Collector’s OTLP receiver, point the SDK at Logfire instead:
export OTEL_EXPORTER_OTLP_ENDPOINT=https://logfire-us.pydantic.dev
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
export OTEL_EXPORTER_OTLP_HEADERS='Authorization=your-write-token'
export OTEL_SERVICE_NAME=your-service-name
To cut over gradually, keep the Splunk exporters and add otlphttp/logfire alongside them, then compare the same traffic in each backend before removing Splunk.
Run your workload and open the Live view. Traces should appear within seconds.
- Migrate to Logfire — the general two-path pattern and parallel-run guidance
- Alternative clients — worked SDK examples
- Splunk’s own docs, to confirm your current exporters and token: Splunk Distribution of the OpenTelemetry Collector