From 19c8c14277e870489a26a71e1f48fefa1dad4c07 Mon Sep 17 00:00:00 2001 From: Albert Romkes Date: Tue, 25 Oct 2016 21:35:25 +0200 Subject: [PATCH] Fix for issue #38. sourceType is now all lowercase -> sourcetype --- src/Serilog.Sinks.Splunk/Sinks/Splunk/SplunkJsonFormatter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Serilog.Sinks.Splunk/Sinks/Splunk/SplunkJsonFormatter.cs b/src/Serilog.Sinks.Splunk/Sinks/Splunk/SplunkJsonFormatter.cs index b2f2e6f..1f3d66d 100644 --- a/src/Serilog.Sinks.Splunk/Sinks/Splunk/SplunkJsonFormatter.cs +++ b/src/Serilog.Sinks.Splunk/Sinks/Splunk/SplunkJsonFormatter.cs @@ -76,7 +76,7 @@ public SplunkJsonFormatter( if (!string.IsNullOrWhiteSpace(sourceType)) { - suffixWriter.Write(",\"sourceType\":"); + suffixWriter.Write(",\"sourcetype\":"); JsonValueFormatter.WriteQuotedJsonString(sourceType, suffixWriter); }