Click or drag to resize

SplunkLayout Properties

The SplunkLayout type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the array of attributes' configurations.
(Inherited from JsonLayout.)
Public propertyExcludeEmptyProperties
Gets or sets the option to exclude null/empty properties from the log event (as JSON)
Public propertyExcludeProperties
List of property names to exclude when IncludeEventProperties is
Public propertyIncludeEventProperties
Gets or sets the option to include all properties from the log events
Public propertyIncludeGdc
Gets or sets a value indicating whether to include contents of the GlobalDiagnosticsContext dictionary.
(Inherited from JsonLayout.)
Public propertyIncludeScopeProperties
Gets or sets whether to include the contents of the ScopeContext properties-dictionary.
Public propertyIndentJson
Auto indent and create new lines
(Inherited from JsonLayout.)
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from Layout.)
Public propertyMaxRecursionLimit
How far should the JSON serializer follow object references before backing off
(Inherited from JsonLayout.)
Public propertyRenderEmptyObject
Gets or sets the option to render the empty object value {}
(Inherited from JsonLayout.)
Public propertySplunkFields
Gets the array of attributes for the "event"-section
Public propertySplunkHostName
Gets or sets Splunk Message Host-attribute
Public propertySplunkIndex
Gets or sets Splunk Message Index-attribute, that controls which event data is to be indexed.
Public propertySplunkSourceName
Gets or sets Splunk Message Source-attribute. Example the name of the application.
Public propertySplunkSourceType
Gets or sets Splunk Message SourceType-attribute. SourceType can be used hint for choosing Splunk Indexer
Public propertySuppressSpaces
Gets or sets the option to suppress the extra spaces in the output json.
(Inherited from JsonLayout.)
Top
See Also