<PackageReference Include="Serilog.Sinks.Splunk" Version="5.2.1-dev-00188" />

Serilog.Sinks.Splunk.SplunkJsonFormatter

public class SplunkJsonFormatter : ITextFormatter
Renders log events into a default JSON format for consumption by Splunk.
public SplunkJsonFormatter(bool renderTemplate, bool renderMessage, IFormatProvider formatProvider)

Construct a SplunkJsonFormatter.

public SplunkJsonFormatter(bool renderTemplate, bool renderMessage, IFormatProvider formatProvider, string source, string sourceType, string host, string index, SubSecondPrecision subSecondPrecision = 3)

Construct a SplunkJsonFormatter.

public SplunkJsonFormatter(bool renderTemplate, bool renderMessage, IFormatProvider formatProvider, string source, string sourceType, string host, string index, CustomFields customFields, SubSecondPrecision subSecondPrecision = 3)

Construct a SplunkJsonFormatter.

public void Format(LogEvent logEvent, TextWriter output)