A Serilog sink that writes events to the Splunk. Supports .NET 4.5+, .NET Core, and platforms compatible with the .NET Platform Standard 1.1 including Windows 8 & UWP, Windows Phone and Xamarin.
Package - Serilog.Sinks.Splunk
To get started install the Serilog.Sinks.Splunk package from Visual Studio's NuGet console:
PM> Install-Package Serilog.Sinks.Splunk
Using the Event Collector (Splunk 6.3 and above)
var log = new LoggerConfiguration()
.WriteTo.EventCollector("https://mysplunk:8088/services/collector", "myeventcollectortoken")
.CreateLogger();
More information is available on the wiki.
Branch | AppVeyor | Travis |
---|---|---|
master | ||
dev |
Serilog is copyright © 2013-2016 Serilog Contributors - Provided under the Apache License, Version 2.0. Needle and thread logo a derivative of work by Kenneth Appiah.