Click or drag to resize

GelfTarget Properties

The GelfTarget type exposes the following members.

Properties
  NameDescription
Public propertyAddress
Gets or sets the network destination address.
(Inherited from NetworkTarget.)
Public propertyCompress
Type of compression for protocol payload. Useful for UDP where datagram max-size is 8192 bytes.
(Inherited from NetworkTarget.)
Public propertyCompressMinBytes
Skip compression when protocol payload is below limit to reduce overhead in cpu-usage and additional headers
(Inherited from NetworkTarget.)
Public propertyConnectionCacheSize
Gets or sets the size of the connection cache (number of connections which are kept alive). Requires KeepConnection =
(Inherited from NetworkTarget.)
Public propertyEncoding
Gets or sets the encoding to be used.
(Inherited from NetworkTarget.)
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 propertyGelfFacility
Gets or sets whether to activate the legacy Graylog Message Facility-field
Public propertyGelfFields
Gets or sets GELF additional fields
Public propertyGelfFullMessage
Gets or sets the Graylog Message Full-Message-field
Public propertyGelfHostName
Gets or sets Graylog Message Host-field
Public propertyGelfShortMessage
Gets or sets the Graylog Message Short-Message-field
Public propertyIncludeEventProperties
Gets or sets the option to include all properties from the log events
Public propertyIncludeProperties
List of property names to include when IncludeEventProperties is
Public propertyIncludeScopeProperties
Gets or sets whether to include the contents of the ScopeContext properties-dictionary.
Protected propertyIsInitialized
Gets a value indicating whether the target has been initialized.
(Inherited from Target.)
Public propertyKeepAliveTimeSeconds
The number of seconds a connection will remain idle before the first keep-alive probe is sent
(Inherited from NetworkTarget.)
Public propertyKeepConnection
Gets or sets a value indicating whether to keep connection open whenever possible.
(Inherited from NetworkTarget.)
Public propertyLayout
Gets or sets the layout used to format log messages.
(Overrides TargetWithLayoutLayout.)
Public propertyLineEnding
Gets or sets the end of line value if a newline is appended at the end of log message NewLine.
(Inherited from NetworkTarget.)
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from Target.)
Public propertyMaxConnections
Gets or sets the maximum simultaneous connections. Requires KeepConnection = false
(Inherited from NetworkTarget.)
Public propertyMaxMessageSize
Gets or sets the maximum message size in bytes. On limit breach then OnOverflow action is activated.
(Inherited from NetworkTarget.)
Public propertyMaxQueueSize
Gets or sets the maximum queue size for a single connection. Requires KeepConnection =
(Inherited from NetworkTarget.)
Public propertyName
Gets or sets the name of the target.
(Inherited from Target.)
Public propertyNewLine
Gets or sets a value indicating whether to append newline at the end of log message.
(Inherited from NetworkTarget.)
Public propertyNoDelay
Gets or sets whether to disable the delayed ACK timer, and avoid delay of 200 ms.
(Inherited from NetworkTarget.)
Public propertyOnConnectionOverflow
Gets or sets the action that should be taken, when more connections than MaxConnections.
(Inherited from NetworkTarget.)
Public propertyOnOverflow
Gets or sets the action that should be taken if the message is larger than MaxMessageSize
(Inherited from NetworkTarget.)
Public propertyOnQueueOverflow
Gets or sets the action that should be taken, when more pending messages than MaxQueueSize.
(Inherited from NetworkTarget.)
Public propertySendTimeoutSeconds
The number of seconds a TCP socket send-operation will block before timeout error. Default = 100 secs (0 = wait forever when network cable unplugged and tcp-buffer becomes full).
(Inherited from NetworkTarget.)
Public propertySslCertificateFile
Gets or sets the file path to custom SSL certificate for TCP Socket SSL connections
(Inherited from NetworkTarget.)
Public propertySslCertificatePassword
Gets or sets the password for the custom SSL certificate specified by SslCertificateFile
(Inherited from NetworkTarget.)
Public propertySslProtocols
Gets or sets the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP.
(Inherited from NetworkTarget.)
Protected propertySyncRoot
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.)
Top
See Also