Skip to main content

Supported Data Types:

📘 Logs | 📈 Metrics | 🚦 Traces

Configuration

Splunk HEC Destination Configuration

FieldTypeDefaultRequiredDescription
NameStringnonetrueUnique identifier within Sawmills.
EndpointStringnonetrueThe Splunk HTTP Event Collector (HEC) endpoint where telemetry data is sent. Format: https://splunk:8088/services/collector. Consider separating to address, port, and path.
Account TokenStringnonetrueThe authentication token required for sending data to Splunk.
IndexStringnonefalseOptional name of the Splunk index targeted.
Enabled Data TypesCheckboxMetrics, Logs, TracesThe telemetry data types you want to export.

Advanced Options

FieldTypeDefaultRequiredDescription
SourceStringnonefalseDefault Splunk source assigned to all events sent through this destination.
Source TypeStringnonefalseDefault Splunk source type assigned to all events sent through this destination.
Skip TLS VerificationBooleanfalsefalseEnabling this setting skips verifying the server’s certificate chain when sending data over HTTPS.

Setting Source and Source Type

By default, sources like Fluent Forward do not set Splunk source and sourcetype. You can set fallback values for all events through the Source and Source Type destination options above. To set them dynamically per-event, use a Modify Attribute Processor to set Resource.com\.splunk\.source and Resource.com\.splunk\.sourcetype — either to a static value or from an existing log attribute. When present, these resource attributes override the static destination values.