Supported Data Types
📘 LogsConfiguration
| 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 | 514 | true | The port on which TCP Logs data is received.. |
| Encoding | String | UTF-8 | true | The character encoding to use for parsing syslog messages. If no encoding is selected, no encoding validation occurs and the file is treated as a stream of raw bytes. |
| Protocol | String | RFC 5424 | true | Syslog protocol version that will be used (RFC 5424 or RFC 3164) |
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. Currently we only support syslog over TCP