Skip to content

Commit 2d8fb39

Browse files
authored
Merge pull request #39 from albertromkes/bugfix/sourcetype-property
Fix for issue #38. sourceType is now all lowercase -> sourcetype
2 parents e9e8303 + 19c8c14 commit 2d8fb39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Sinks.Splunk/Sinks/Splunk/SplunkJsonFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public SplunkJsonFormatter(
7676

7777
if (!string.IsNullOrWhiteSpace(sourceType))
7878
{
79-
suffixWriter.Write(",\"sourceType\":");
79+
suffixWriter.Write(",\"sourcetype\":");
8080
JsonValueFormatter.WriteQuotedJsonString(sourceType, suffixWriter);
8181
}
8282

0 commit comments

Comments
 (0)