# Using Splunk OTel Collector with Bindplane

Bindplane and the Bindplane Collector can be used to collect data from your [Splunk OTel Collectors](https://docs.splunk.com/observability/en/gdi/opentelemetry/opentelemetry.html).\
This allows you to start taking advantage of Bindplane without the need to re-instrument your\
collectors at the edge.

### Step 1: Deploy a Bindplane Collector as a Gateway

This is the collector you will be routing data through and is what will be managed by Bindplane. In a production environment, this is likely to be a fleet of collectors behind a load balancer. See our [Collector Sizing and Scaling](/production-checklist/bindplane-otel-collector/sizing-and-scaling.md) docs for more details on determining your collector architecture.

### Step 2: Build the Configuration

1. Create a new configuration
2. Add the [OTLP Source](https://bindplane.com/docs/resources/sources/opentelemetry).
3. Add a destination of your choice and configure it.

### Step 3: Configure your Splunk OTel Collectors to forward to Bindplane Collector

Modify your Splunk OTel Collector configuration to use an [otlp exporter](https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/otlpexporter). The exporter has many configuration options, see the [readme](https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/otlpexporter) for details.

Below is a minimalist configuration example. Replace `bindplane-gateway` with the hostname or IP address of your Bindplane Collector.

```yaml
exporters:
  otlp:
    endpoint: bindplane-gateway:4317
```

Update your pipelines to include the new exporter. This example assumes you have a `traces`, `metrics`, and `logs` pipeline. Your configuration may differ.

```yaml
service:
  pipelines:
    traces:
      exporters:
        - otlp
    metrics:
      exporters:
        - otlp
    logs:
      exporters:
        - otlp
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bindplane.com/how-to-guides/cloud-and-platform-integrations/splunk/using-splunk-otel-collector-with-bindplane.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
