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

# Splunk HEC Source

> Configure the Splunk HEC source in Sawmills to ingest logs, metrics, and traces via the Splunk HTTP Event Collector protocol with TLS support.

## Supported Data Types

📘 **Logs** | 📈 **Metrics** | 🚦 **Traces**

## Configuration

| Field   | Type   | Default            | Required | Description                                          |
| :------ | :----- | :----------------- | :------- | :--------------------------------------------------- |
| Name    | String | none               | true     | Unique identifier within Sawmills.                   |
| Address | String | `${env:MY_POD_IP}` | true     | The address (IP or hostname) to receive Splunk data. |
| Port    | Int    | 8088               | true     | The port on which Splunk data is received.           |

<Note>: The pod’s IP address is retrieved by defining an environment variable `MY_POD_IP` from the pod’s status field `status.podIP`. You can access this value using `${env:MY_POD_IP}` in your configuration to dynamically reference the pod’s IP at runtime. </Note>
