Skip to main content

Supported Data Types

📘 Logs

Configuration

FieldTypeDefaultRequiredDescription
NameStringnonetrueUnique identifier within Sawmills.
Enable HTTPBooleantruetrueEnable the Loki source to accept telemetry data over HTTP.
HTTP AddressString${env:MY_POD_IP}trueThe address (IP or hostname) where HTTP data is received.
Port (HTTP)Int3500trueThe port for receiving OTLP data over gRPC.
Enable gRPCBooleantruetrueEnable the Loki source to accept telemetry data over gRPC.
gRPC HostnameString${env:MY_POD_IP}trueThe address (IP or hostname) where gRPC data is received.
Port (gRPC)Int4317trueThe port for receiving OTLP data over gRPC.

Advanced Options

FieldTypeDefaultRequiredDescription
Use Incoming TimestampBooleanfalsetrueUse the source-provided log timestamp if reliable. When off, logs are assigned new timestamps at ingestion to maintain consistency in mixed environments.
Forward X-Scope-OrgID HeaderBooleantruetrueWhen enabled, the incoming X-Scope-OrgID header is preserved. This is often required for multi-tenant authentication to work properly.
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.