-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HttpEventlogCollector and sourceType #38
Comments
Hey @albertromkes, Thanks for the note. I can confirm the bug, I believe it relates to changes to a new JSON formatter. It relates to https://github.com/serilog/serilog-sinks-splunk/blob/dev/src/Serilog.Sinks.Splunk/Sinks/Splunk/SplunkJsonFormatter.cs#L79 as you mentioned. If you are happy to do a PR that would be great, otherwise let me know and I will jump on it. |
Fix for issue #38. sourceType is now all lowercase -> sourcetype
@albertromkes the new package is up at Nuget. |
When posting an entry with the 'sourceType' parameter set, I'll get a 404 bad request back from Splunk (version 6.4.1). If I change 'sourceType' into 'sourcetype' (all lowercase), it starts working.
I'm not sure if this is a setting in Splunk itself or a bug in this sink. If it's a bug, let me know. Then I'll create a pull request with a fix.
The text was updated successfully, but these errors were encountered: