> ## 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.

# TCP Logs Source

> Configure the TCP Logs source in Sawmills to receive raw log data over a TCP connection on a configurable address, port, and encoding.

## Supported Data Types

📘 **Logs**

## 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 TCP Logs data. |
| Port    | Int    | 54525              | true     | The port on which TCP Logs 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>
