Skip to main content

Supported Data Types

📘 Logs

Configuration

FieldTypeDefaultRequiredDescription
NameStringnonetrueUnique identifier within Sawmills.
AddressString${env:MY_POD_IP}trueThe address (IP or hostname) to receive TCP Logs data.
PortInt514trueThe port on which TCP Logs data is received..
EncodingStringUTF-8trueThe 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.
ProtocolStringRFC 5424trueSyslog 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