# Splunk Log Integration (legacy)

We recommend our latest [Splunk](/docs/logs-splunk-v2/) integration for a structured, modernized log delivery experience via **OpenTelemetry,** now with sourcetype control.

CloudAMQP ships broker logs to Splunk via the HTTP Event Collector (HEC) using the legacy log-forwarding service. Available on RabbitMQ dedicated instances.

Link: [https://www.splunk.com](https://www.splunk.com)

## Setup

1. In Splunk, go to **Settings → Data inputs → HTTP Event Collector** and create a new token at `
   https://<your-splunk>.cloud.splunk.com/en-US/manager/search/http-eventcollector
   `
2. Copy the HEC token and the host/port destination (e.g. `input-prd-p-abc123.cloud.splunk.com:8080`)
3. Enter the token and the host/port in the CloudAMQP integration form and click **Save**

[← Back to Log Integrations](/docs/cloudamqp-integrations/#legacy-logs)
