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

Serilog.Sinks.Splunk.SplunkJsonFormatter

public class SplunkJsonFormatter : ITextFormatter
Renders log events into a default JSON format for consumption by Splunk.
namespace Serilog.Sinks.Splunk { public class SplunkJsonFormatter { public SplunkJsonFormatter(bool renderTemplate, bool renderMessage, IFormatProvider formatProvider); public SplunkJsonFormatter(bool renderTemplate, bool renderMessage, IFormatProvider formatProvider, string source, string sourceType, string host, string index, SubSecondPrecision subSecondPrecision = SubSecondPrecision.Milliseconds); public SplunkJsonFormatter(bool renderTemplate, bool renderMessage, IFormatProvider formatProvider, string source, string sourceType, string host, string index, CustomFields customFields, SubSecondPrecision subSecondPrecision = SubSecondPrecision.Milliseconds); public void Format(LogEvent logEvent, TextWriter output); } }