Click or drag to resize

SplunkLayoutSplunkSourceType Property

Gets or sets Splunk Message SourceType-attribute, which tells Splunk how to parse and index the event content.

Namespace:  NLog.Layouts
Assembly:  NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntax
public Layout SplunkSourceType { get; set; }

Property Value

Type: Layout
Remarks
Default: _json where Splunk automatically extracts fields from the JSON event object. When configured as empty value, then Splunk uses the sourcetype configured on the HEC token.
See Also