> ## Documentation Index
> Fetch the complete documentation index at: https://agent-observability-docs.splunk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SaaS Ingestion Behavior

> What to expect when sending trace data to Splunk Agent Observability in Splunk Observability Cloud

This page covers trace data behavior for a SaaS deployment inside Splunk Observability Cloud. For the behavior of traces, spans, and sessions once ingested, see [Distributed Tracing Concepts](https://agent-observability-docs.splunk.com/concepts/logging/distributed-tracing-behavior.md) — incomplete-trace handling is one exception (see **Incomplete traces** below, and the "How data reaches Splunk Agent Observability" page for how spans are routed here).

## Where your data goes first

With `SPLUNK_AO_REALM` and a Splunk Observability Cloud token configured, your application sends trace data directly to Splunk Observability Cloud's own ingestion endpoint for your realm, not to a Splunk Agent Observability endpoint you manage. Splunk Observability Cloud then hands that data off to Splunk Agent Observability for processing.

Splunk Observability Cloud also filters at this hand-off: it sends every span to Splunk APM, but forwards only spans that look like AI spans to Splunk Agent Observability. Spans that don't match are dropped — often including the trace's root. (See the "How data reaches Splunk Agent Observability" page for which attributes keep a span.) This is why a SaaS trace is more likely than a self-hosted one to start without a root — see **Incomplete traces** below for what happens then.

An on-premises deployment skips this hand-off; your application talks directly to your own Splunk Agent Observability deployment. The hand-off has two practical effects:

* **A short additional delay** between logging a trace and seeing it processed.
* **Data can arrive in batches** rather than the moment each request completes.

Neither affects correctness. Both are timing characteristics of the SaaS hand-off, not a difference in how traces, spans, or metrics behave once in Splunk Agent Observability.

## Incomplete traces

Because of the filtering above, a SaaS trace more often starts without a root span than a self-hosted one would. Splunk Agent Observability accounts for this: a rootless trace gets a stand-in root automatically, about 10 minutes after it goes quiet, and its metrics compute from there. Self-hosted has no equivalent hand-off, so a rootless trace there stays **not computed**, carrying [error code 2019](https://agent-observability-docs.splunk.com/references/faqs/errors-catalog.md), until a resolving span arrives. See [Why metrics can show as "not computed"](https://agent-observability-docs.splunk.com/concepts/logging/distributed-tracing-behavior.md#why-metrics-can-show-as-not-computed) for the full behavior.

## Delivery is at-least-once

The hand-off from Splunk Observability Cloud to Splunk Agent Observability is at-least-once. A batch that needs retrying is retried as a whole, not guaranteed to send exactly once. A duplicate delivery of the same records doesn't create duplicate traces or spans.

> [!NOTE]
>
> A retried batch can occasionally cause a session's rolled-up metrics to reflect an earlier state before settling back to the current state once reprocessing completes. This is a transient timing effect, not data loss.

## Troubleshooting

**Trace data taking longer than expected to appear?**

Some delay is expected for SaaS deployments, due to the Splunk Observability Cloud hand-off. If data doesn't appear at all, confirm `SPLUNK_AO_REALM` and your token are configured correctly for your organization's realm. See [SaaS region and realm availability](https://agent-observability-docs.splunk.com/saas/overview.md#saas-region-and-realm-availability).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.