Skip to content
Jeff Parker, PE edited this page Apr 22, 2024 · 12 revisions

The Serilog Splunk Sink

This sink provides a number of ways to log to Splunk via Serilog. Wrapping the new Splunk SDK and Common Logging the sink provides a simple way to get up and running with Splunk in .Net apps.

To help you get started check out the following links:

A list of issues can be found or added to over at the Issue List

4.0.0+ Breaking Changes

Event Collector Path

Version 3.7.0 used URI path of services/collector. 4+ uses services/collector/event, you may need to alter this in your configuration.

Windows TLS 1.2

Occasionally, Windows servers running .Net Framework applications may continue to use TLS 1.0 to attempt connections to Splunk. If you experience this issue, you can force all .Net Framework applications to use TLS 1.2 with the following registry entry:

reg add HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 /v SchUseStrongCrypto /t REG_DWORD /d 1