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

# Splunk (SAPM) (Deprecated)

> Configuring the Splunk (SAPM) (Deprecated) backend (Managed)

### Getting Started

<img src="https://d15jtxgb40qetw.cloudfront.net/splunk.svg" alt="splunksapm" className="not-prose h-20" />

{/*
  !! Do not remove this comment, this acts as a key indicator in `docs/sync-dest-doc.py` !!
  !! END CUSTOM EDIT !!
*/}

### Configuring Destination Fields

<Accordion title="Supported Signals:">
  ✅ Traces
  ❌ Metrics
  ❌ Logs
</Accordion>

* **SPLUNK\_ACCESS\_TOKEN** `string` : Access Token.
  * This field is required
* **SPLUNK\_REALM** `string` : Realm. The Splunk realm in use. This is the second part of the URL you use to access Splunk/SignalFX. For example, if you access Splunk at `https://app.us1.signalfx.com`, then the realm is `us1`.
  * This field is required

### Adding Destination to Odigos

There are two primary methods for configuring destinations in Odigos:

##### **Using the UI**

<Steps>
  <Step>
    Use the [Odigos CLI](../cli/odigos_ui) to access the UI

    ```bash theme={null}
    odigos ui
    ```
  </Step>

  <Step>
    Click on `Add Destination`, select `Splunk (SAPM) (Deprecated)` and follow the on-screen instructions
  </Step>
</Steps>

##### **Using Kubernetes manifests**

<Steps>
  <Step>
    Save the YAML below to a file (e.g. `splunksapm.yaml`)

    ```yaml theme={null}
    apiVersion: odigos.io/v1alpha1
    kind: Destination
    metadata:
      name: splunksapm-example
      namespace: odigos-system
    spec:
      data:
        SPLUNK_REALM: <Realm>
      destinationName: splunksapm
      secretRef:
        name: splunksapm-secret
      signals:
      - TRACES
      type: splunksapm

    ---

    apiVersion: v1
    data:
      SPLUNK_ACCESS_TOKEN: <Base64 Access Token>
    kind: Secret
    metadata:
      name: splunksapm-secret
      namespace: odigos-system
    type: Opaque
    ```
  </Step>

  <Step>
    Apply the YAML using `kubectl`

    ```bash theme={null}
    kubectl apply -f splunksapm.yaml
    ```
  </Step>
</Steps>
