Serilog.Sinks.Splunk.EventCollectorSink
A sink to log to the Event Collector available in Splunk 6.3
public EventCollectorSink(string splunkHost, string eventCollectorToken, IFormatProvider formatProvider = null, bool renderTemplate = true, bool renderMessage = true, SubSecondPrecision subSecondPrecision = 3)
Creates a new instance of the sink
public EventCollectorSink(string splunkHost, string eventCollectorToken, string uriPath, string source, string sourceType, string host, string index, IFormatProvider formatProvider = null, bool renderTemplate = true, bool renderMessage = true, HttpMessageHandler messageHandler = null, SubSecondPrecision subSecondPrecision = 3)
Creates a new instance of the sink
public EventCollectorSink(string splunkHost, string eventCollectorToken, string uriPath, string source, string sourceType, string host, string index, CustomFields fields, IFormatProvider formatProvider = null, bool renderTemplate = true, bool renderMessage = true, HttpMessageHandler messageHandler = null, SubSecondPrecision subSecondPrecision = 3)
Creates a new instance of the sink with Customfields
public EventCollectorSink(string splunkHost, string eventCollectorToken, string uriPath, ITextFormatter jsonFormatter, HttpMessageHandler messageHandler = null)
Creates a new instance of the sink
Releases resources used by the sink.